[package] base-files: kill remaining processes after running user hooks (#10461)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29256 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Jo-Philipp Wich
2011-11-19 16:50:25 +00:00
parent 7edf022943
commit 00a17bc44f
2 changed files with 3 additions and 3 deletions

View File

@@ -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'