switch to infobox on exit menu

This commit is contained in:
Tobias Powalowski 2023-07-08 08:13:54 +02:00
parent 4f9525a151
commit 148b6e4a34

View file

@ -350,11 +350,11 @@ _mainmenu() {
fi
exit 0
elif [[ "${_EXIT}" == "2" ]]; then
_dialog --infobox "Rebooting in 10 seconds...\nDon't forget to remove the boot medium!" 4 70
_dialog --infobox "Rebooting in 10 seconds...\nDon't forget to remove the boot medium!" 4 50
sleep 10
reboot
elif [[ "${_EXIT}" == "3" ]]; then
_dialog --infobox "Powering off in 10 seconds...\nDon't forget to remove the boot medium!" 4 70
_dialog --infobox "Powering off in 10 seconds...\nDon't forget to remove the boot medium!" 4 50
sleep 10
poweroff
fi