[package] base-files: kill remaining processes after running user hooks (#10461)
[openwrt.git] / package / base-files / files / sbin / sysupgrade
index 7efb2b4..cf79114 100755 (executable)
@@ -127,8 +127,13 @@ elif ask_bool $SAVE_CONFIG "Keep config files over reflash"; then
 else
        export SAVE_CONFIG=0
 fi
+
 run_hooks "" $sysupgrade_pre_upgrade
 
+kill_remaining TERM
+sleep 3
+kill_remaining KILL
+
 if [ -n "$(rootfs_type)" ]; then
        v "Switching to ramdisk..."
        run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade'
This page took 0.022016 seconds and 4 git commands to generate.