add clear on reboot and poweroff

This commit is contained in:
Tobias Powalowski 2023-07-08 08:38:56 +02:00
parent a57824c653
commit afa34731a0

View file

@ -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
;;