update titles

This commit is contained in:
Tobias Powalowski 2023-08-04 20:04:37 +02:00
parent f9d278d55d
commit 3aac353003

View file

@ -83,7 +83,7 @@ _exit() {
# abort after 10 seconds
_progress "$((_COUNT*10))" "Rebooting in $((10-_COUNT)) seconds. Don't forget to remove the boot medium!"
[[ "${_COUNT}" == 10 ]] && break
done | _dialog --title " System " --no-mouse --gauge "Rebooting in 10 seconds. Don't forget to remove the boot medium!" 6 75 0
done | _dialog --title " System Reboot " --no-mouse --gauge "Rebooting in 10 seconds. Don't forget to remove the boot medium!" 6 75 0
reboot
elif [[ "${_EXIT}" == "3" ]]; then
while true; do
@ -92,7 +92,7 @@ _exit() {
# abort after 10 seconds
_progress "$((_COUNT*10))" "Powering off in $((10-_COUNT)) seconds. Don't forget to remove the boot medium!"
[[ "${_COUNT}" == 10 ]] && break
done | _dialog --title " System " --no-mouse --gauge "Powering off in 10 seconds. Don't forget to remove the boot medium!" 6 75 0
done | _dialog --title " System Shutdown " --no-mouse --gauge "Powering off in 10 seconds. Don't forget to remove the boot medium!" 6 75 0
poweroff
fi
}