Fix panic spawning shell
This commit is contained in:
parent
7026ad29d2
commit
fafe47b79b
|
@ -54,14 +54,10 @@ panic()
|
||||||
printf "\n"
|
printf "\n"
|
||||||
printf " The PVC installer image failed to boot.\n\n"
|
printf " The PVC installer image failed to boot.\n\n"
|
||||||
printf "The error message was:\n\n "
|
printf "The error message was:\n\n "
|
||||||
|
printf " $@\n\n"
|
||||||
# Call original panic
|
|
||||||
. /scripts/functions
|
|
||||||
panic "$@"
|
|
||||||
|
|
||||||
# Reboot system
|
# Reboot system
|
||||||
printf
|
printf "System will reboot in 30 seconds.\n"
|
||||||
printf "System will reboot in 30 seconds"
|
|
||||||
sleep 30
|
sleep 30
|
||||||
reboot -f
|
reboot -f
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue