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