mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 16:58:22 +00:00
base-files: kill remaining processes after running user hooks (#10461)
SVN-Revision: 29256
This commit is contained in:
parent
0838e883f2
commit
d46e17548b
@ -10,7 +10,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:=97
|
PKG_RELEASE:=98
|
||||||
|
|
||||||
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||||
PKG_BUILD_DEPENDS:=opkg/host
|
PKG_BUILD_DEPENDS:=opkg/host
|
||||||
|
@ -128,12 +128,12 @@ else
|
|||||||
export SAVE_CONFIG=0
|
export SAVE_CONFIG=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
run_hooks "" $sysupgrade_pre_upgrade
|
||||||
|
|
||||||
kill_remaining TERM
|
kill_remaining TERM
|
||||||
sleep 3
|
sleep 3
|
||||||
kill_remaining KILL
|
kill_remaining KILL
|
||||||
|
|
||||||
run_hooks "" $sysupgrade_pre_upgrade
|
|
||||||
|
|
||||||
if [ -n "$(rootfs_type)" ]; then
|
if [ -n "$(rootfs_type)" ]; then
|
||||||
v "Switching to ramdisk..."
|
v "Switching to ramdisk..."
|
||||||
run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade'
|
run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user