From 9171f0fa247c4eb713212896d5b9deee34387ea4 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Wed, 29 May 2024 20:13:49 +0200 Subject: [PATCH] update: rewrite Signed-off-by: AuxXxilium --- files/initrd/opt/arc/update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/initrd/opt/arc/update.sh b/files/initrd/opt/arc/update.sh index 9437d3b4..81997080 100755 --- a/files/initrd/opt/arc/update.sh +++ b/files/initrd/opt/arc/update.sh @@ -93,7 +93,8 @@ function boot() { dialog --backtitle "$(backtitle)" --title "Arc Boot" \ --infobox "Rebooting to Config Mode...\nPlease stay patient!" 4 30 fi - sleep 2 + rm -f "${MOD_ZIMAGE_FILE}" "${MOD_RDGZ_FILE}" 2>/dev/null + sleep 3 exec reboot }