Up fatal reboot timeout
This commit is contained in:
parent
0c0498d15f
commit
b18f1d85d6
@ -541,8 +541,8 @@ cleanup() {
|
||||
if [[ -z ${DONE} ]]; then
|
||||
case ${install_option} in
|
||||
on)
|
||||
echo "A fatal error occurred; rebooting in 10 seconds. Press any key to spawn a shell."
|
||||
if ! read -t 10; then
|
||||
echo "A fatal error occurred; rebooting in 30 seconds. Press any key to spawn a shell."
|
||||
if ! read -t 30; then
|
||||
reboot
|
||||
fi
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user