aboutsummaryrefslogtreecommitdiffstats
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
commitd8aee6e471fc0e19ba19fa20c3eb2765622d5e66 (patch)
tree9a8fd741cea1eeee942e5fc6aad90a91c74c5bca
parent3846834c858838f2c9d79c8972d89d651a30cc29 (diff)
downloadupstream-d8aee6e471fc0e19ba19fa20c3eb2765622d5e66.tar.gz
upstream-d8aee6e471fc0e19ba19fa20c3eb2765622d5e66.tar.bz2
upstream-d8aee6e471fc0e19ba19fa20c3eb2765622d5e66.zip
base-files: show reboot notification is sysupgrade
SVN-Revision: 15730
-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
+ }
}