Skip to content
Snippets Groups Projects
Commit af8500e9 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

sysupgrade: use sysrq-trigger if available

SVN-Revision: 15865
parent 01287654
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ...@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=base-files PKG_NAME:=base-files
PKG_RELEASE:=19 PKG_RELEASE:=20
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
......
...@@ -167,6 +167,7 @@ do_upgrade() { ...@@ -167,6 +167,7 @@ do_upgrade() {
[ -n "$DELAY" ] && sleep "$DELAY" [ -n "$DELAY" ] && sleep "$DELAY"
ask_bool 1 "Reboot" && { ask_bool 1 "Reboot" && {
v "Rebooting system..." v "Rebooting system..."
echo b 2>/dev/null >/proc/sysrq-trigger
reboot reboot
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment