[package] base-files: show reboot notification is sysupgrade
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 9 May 2009 01:54:09 +0000 (01:54 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 9 May 2009 01:54:09 +0000 (01:54 +0000)
SVN-Revision: 15730

package/base-files/files/lib/upgrade/common.sh

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