diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-15 12:10:26 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-15 12:10:26 +0000 |
commit | af8500e97d3a09023779c5e4350869111a1bf290 (patch) | |
tree | 554ab5e4197a61c03a627a139e322e23f5e1f5a6 /package/base-files/files/lib | |
parent | 01287654f215c79c70fb7e4addc4f59d0719341b (diff) | |
download | upstream-af8500e97d3a09023779c5e4350869111a1bf290.tar.gz upstream-af8500e97d3a09023779c5e4350869111a1bf290.tar.bz2 upstream-af8500e97d3a09023779c5e4350869111a1bf290.zip |
sysupgrade: use sysrq-trigger if available
SVN-Revision: 15865
Diffstat (limited to 'package/base-files/files/lib')
-rw-r--r-- | package/base-files/files/lib/upgrade/common.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index 361c73a5ee..9ba9e23e7e 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 } } |