summaryrefslogtreecommitdiff
path: root/package/base-files
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 /package/base-files
parent3846834c858838f2c9d79c8972d89d651a30cc29 (diff)
downloadmtk-20170518-d8aee6e471fc0e19ba19fa20c3eb2765622d5e66.zip
mtk-20170518-d8aee6e471fc0e19ba19fa20c3eb2765622d5e66.tar.gz
mtk-20170518-d8aee6e471fc0e19ba19fa20c3eb2765622d5e66.tar.bz2
base-files: show reboot notification is sysupgrade
SVN-Revision: 15730
Diffstat (limited to 'package/base-files')
-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 7739275..361c73a 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
+ }
}