add end dialog on setup leaving

This commit is contained in:
Tobias Powalowski 2023-06-15 21:53:21 +02:00
parent 5c902df11b
commit 47a5bbc3ee

View file

@ -338,10 +338,10 @@ _mainmenu() {
fi
exit 0
elif [[ "${_ANSWER}" == "2" ]]; then
_dialog --msgbox "Reboot:\nHit 'Enter' for rebooting the system.\nDon't forget to remove the boot medium!" 10 60
_dialog --msgbox "Reboot:\nHit 'Enter' for rebooting the system.\nDon't forget to remove the boot medium!" 8 40
reboot
elif [[ "${_ANSWER}" == "3" ]]; then
_dialog --msgbox "Poweroff:\n\nHit 'Enter' for powering off the system." 9 60
_dialog --msgbox "Poweroff:\n\nHit 'Enter' for powering off the system." 6 40
poweroff
fi
;;