1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[package] sysupgrade: use sysrq-trigger if available

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15865 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow
2009-05-15 12:10:26 +00:00
parent 3d7502c8e4
commit e5b98fff8d
2 changed files with 2 additions and 1 deletions

View File

@@ -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
}
}