mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
switch to infobox on exit menu
This commit is contained in:
parent
4f9525a151
commit
148b6e4a34
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue