From 6f259421e5cd0733717e80bd4a0a4da1c0aa5200 Mon Sep 17 00:00:00 2001 From: jow Date: Mon, 25 Jul 2011 22:19:55 +0000 Subject: [package] base-files: use "reboot -f" after sysupgrade to prevent executing deleted init scripts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27776 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/lib/upgrade/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files/files') diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index bf9c40d29..11e1b2cdf 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.2.3