mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40: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
|
||||
_dialog --infobox "Rebooting in 10 seconds...\nDon't forget to remove the boot medium!" 4 50
|
||||
sleep 10
|
||||
clear
|
||||
reboot
|
||||
elif [[ "${_EXIT}" == "3" ]]; then
|
||||
_dialog --infobox "Powering off in 10 seconds...\nDon't forget to remove the boot medium!" 4 50
|
||||
sleep 10
|
||||
clear
|
||||
poweroff
|
||||
fi
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue