Browse Source

base-files: show reboot notification is sysupgrade

SVN-Revision: 15730
Jo-Philipp Wich 16 years ago
parent
commit
d8aee6e471
1 changed files with 4 additions and 1 deletions
  1. 4 1
      package/base-files/files/lib/upgrade/common.sh

+ 4 - 1
package/base-files/files/lib/upgrade/common.sh

@@ -165,5 +165,8 @@ do_upgrade() {
 	}
 	}
 	v "Upgrade completed"
 	v "Upgrade completed"
 	[ -n "$DELAY" ] && sleep "$DELAY"
 	[ -n "$DELAY" ] && sleep "$DELAY"
-	ask_bool 1 "Reboot" && reboot
+	ask_bool 1 "Reboot" && {
+		v "Rebooting system..."
+		reboot
+	}
 }
 }