mirror of https://github.com/hak5/openwrt-owl.git
base-files: use "reboot -f" after sysupgrade to prevent executing deleted init scripts
SVN-Revision: 27776owl
parent
80956276a7
commit
94c728dc39
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=base-files
|
||||
PKG_RELEASE:=77
|
||||
PKG_RELEASE:=78
|
||||
|
||||
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||
PKG_BUILD_DEPENDS:=opkg/host
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue