mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add clear on reboot and poweroff
This commit is contained in:
parent
a57824c653
commit
afa34731a0
1 changed files with 2 additions and 0 deletions
|
@ -352,10 +352,12 @@ _mainmenu() {
|
||||||
elif [[ "${_EXIT}" == "2" ]]; then
|
elif [[ "${_EXIT}" == "2" ]]; then
|
||||||
_dialog --infobox "Rebooting in 10 seconds...\nDon't forget to remove the boot medium!" 4 50
|
_dialog --infobox "Rebooting in 10 seconds...\nDon't forget to remove the boot medium!" 4 50
|
||||||
sleep 10
|
sleep 10
|
||||||
|
clear
|
||||||
reboot
|
reboot
|
||||||
elif [[ "${_EXIT}" == "3" ]]; then
|
elif [[ "${_EXIT}" == "3" ]]; then
|
||||||
_dialog --infobox "Powering off in 10 seconds...\nDon't forget to remove the boot medium!" 4 50
|
_dialog --infobox "Powering off in 10 seconds...\nDon't forget to remove the boot medium!" 4 50
|
||||||
sleep 10
|
sleep 10
|
||||||
|
clear
|
||||||
poweroff
|
poweroff
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue