aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/upgrade
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-05-09 01:54:09 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-05-09 01:54:09 +0000
commit14cb1da422369c19c670b2796ea6d4284f018741 (patch)
tree350dde007190abf0a4675e8bb216e8f7fad8ce3d /package/base-files/files/lib/upgrade
parent7190c170a2822d17e4c0e9a4581a552f5e04a8f3 (diff)
downloadupstream-14cb1da422369c19c670b2796ea6d4284f018741.tar.gz
upstream-14cb1da422369c19c670b2796ea6d4284f018741.tar.bz2
upstream-14cb1da422369c19c670b2796ea6d4284f018741.zip
[package] base-files: show reboot notification is sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15730 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/lib/upgrade')
-rw-r--r--package/base-files/files/lib/upgrade/common.sh5
1 files changed, 4 insertions, 1 deletions
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
+ }
}