summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 7739275be..361c73a5e 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
+ }
}