base-files: show reboot notification is sysupgrade

SVN-Revision: 15730
This commit is contained in:
Jo-Philipp Wich 2009-05-09 01:54:09 +00:00
parent 3846834c85
commit d8aee6e471
1 changed files with 4 additions and 1 deletions

View File

@ -165,5 +165,8 @@ do_upgrade() {
} }
v "Upgrade completed" v "Upgrade completed"
[ -n "$DELAY" ] && sleep "$DELAY" [ -n "$DELAY" ] && sleep "$DELAY"
ask_bool 1 "Reboot" && reboot ask_bool 1 "Reboot" && {
v "Rebooting system..."
reboot
}
} }