forked from Ivasoft/openwrt
base-files: kill remaining processes after running user hooks (#10461)
SVN-Revision: 29256
This commit is contained in:
@@ -128,12 +128,12 @@ else
|
||||
export SAVE_CONFIG=0
|
||||
fi
|
||||
|
||||
run_hooks "" $sysupgrade_pre_upgrade
|
||||
|
||||
kill_remaining TERM
|
||||
sleep 3
|
||||
kill_remaining KILL
|
||||
|
||||
run_hooks "" $sysupgrade_pre_upgrade
|
||||
|
||||
if [ -n "$(rootfs_type)" ]; then
|
||||
v "Switching to ramdisk..."
|
||||
run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade'
|
||||
|
||||
Reference in New Issue
Block a user