Permalink
Browse files

[package] base-files: use "reboot -f" after sysupgrade to prevent exe…

…cuting deleted init scripts

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27776 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information...
1 parent b47797b commit 6f259421e5cd0733717e80bd4a0a4da1c0aa5200 jow committed Jul 25, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 package/base-files/Makefile
  2. +1 −1 package/base-files/files/lib/upgrade/common.sh
@@ -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
}

0 comments on commit 6f25942

Please sign in to comment.