From 94c728dc3949a74762866fe3f3faa75aeb8b8dda Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 25 Jul 2011 22:19:55 +0000 Subject: base-files: use "reboot -f" after sysupgrade to prevent executing deleted init scripts SVN-Revision: 27776 --- package/base-files/files/lib/upgrade/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files/files/lib') diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index bf9c40d..11e1b2c 100644 --- a/package/base-files/files/lib/upgrade/common.sh +++ b/package/base-files/files/lib/upgrade/common.sh @@ -182,7 +182,7 @@ do_upgrade() { [ -n "$DELAY" ] && sleep "$DELAY" ask_bool 1 "Reboot" && { v "Rebooting system..." - reboot + reboot -f sleep 5 echo b 2>/dev/null >/proc/sysrq-trigger } -- cgit v1.1