From: jow Date: Sat, 9 May 2009 01:54:09 +0000 (+0000) Subject: [package] base-files: show reboot notification is sysupgrade X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=38e0e195e1634c073b048fd117ad723c27c55f25;p=openwrt.git [package] base-files: show reboot notification is sysupgrade git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15730 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index 7739275bec..361c73a5ee 100644 --- a/package/base-files/files/lib/upgrade/common.sh +++ b/package/base-files/files/lib/upgrade/common.sh @@ -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 + } }