add end dialog on setup leaving

This commit is contained in:
Tobias Powalowski 2023-06-15 21:57:08 +02:00
parent b4ba4b7fe4
commit 6cfb23d453

View file

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