aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-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
+ }
}