From e5b98fff8d75fbe463ad76eb9375637f91225303 Mon Sep 17 00:00:00 2001 From: jow Date: Fri, 15 May 2009 12:10:26 +0000 Subject: [package] sysupgrade: use sysrq-trigger if available git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15865 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/lib/upgrade/common.sh | 1 + 1 file changed, 1 insertion(+) (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 361c73a5e..9ba9e23e7 100644 --- a/package/base-files/files/lib/upgrade/common.sh +++ b/package/base-files/files/lib/upgrade/common.sh @@ -167,6 +167,7 @@ do_upgrade() { [ -n "$DELAY" ] && sleep "$DELAY" ask_bool 1 "Reboot" && { v "Rebooting system..." + echo b 2>/dev/null >/proc/sysrq-trigger reboot } } -- cgit v1.2.3