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 7739275becc0fdd825c80b376a2444df2efbdfb6..361c73a5ee178674807faf17fd2649d097bc840e 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
+       }
 }