mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-08-17 18:32:23 +00:00
Update upgrade_pve8_to_pve9.sh
This commit is contained in:
parent
04dc7af25c
commit
1049ac6eac
@ -860,17 +860,22 @@ echo
|
|||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
|
|
||||||
msg_success "$(translate "Press Enter to continue...")"
|
msg_success "Press Enter to continue..."
|
||||||
read -r
|
read -r
|
||||||
if confirm "It is RECOMMENDED to reboot now to load the new kernel and services.\n\nReboot now?"; then
|
|
||||||
|
whiptail --title "Reboot Required" \
|
||||||
|
--yesno "It is RECOMMENDED to reboot now to load the new kernel and services.\n\nReboot now?" \
|
||||||
|
12 70
|
||||||
|
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
echo -e
|
echo -e
|
||||||
msg_warn "$(translate "Rebooting the system...")"
|
msg_warn "Rebooting the system..."
|
||||||
echo -e
|
echo -e
|
||||||
reboot
|
reboot
|
||||||
else
|
else
|
||||||
msg_info2 "$(translate "You can reboot later manually.")"
|
msg_info2 "You can reboot later manually."
|
||||||
echo -e
|
echo -e
|
||||||
msg_success "$(translate "Press Enter to exit")"
|
msg_success "Press Enter to exit"
|
||||||
read -r
|
read -r
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user