Prechádzať zdrojové kódy

base-files: show reboot notification is sysupgrade

SVN-Revision: 15730
Jo-Philipp Wich 16 rokov pred
rodič
commit
d8aee6e471

+ 4 - 1
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
+	}
 }