From fafe47b79b4b8d942526ce6a964676da543a0328 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:41:57 -0400 Subject: [PATCH] Fix panic spawning shell --- templates/9990-initramfs-tools.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/templates/9990-initramfs-tools.sh b/templates/9990-initramfs-tools.sh index 5ebdefd..d0af227 100755 --- a/templates/9990-initramfs-tools.sh +++ b/templates/9990-initramfs-tools.sh @@ -54,14 +54,10 @@ panic() printf "\n" printf " The PVC installer image failed to boot.\n\n" printf "The error message was:\n\n " - - # Call original panic - . /scripts/functions - panic "$@" + printf " $@\n\n" # Reboot system - printf - printf "System will reboot in 30 seconds" + printf "System will reboot in 30 seconds.\n" sleep 30 reboot -f }