[package] base-files: kill remaining processes after running user hooks (#10461)
[openwrt.git] / package / base-files / files / sbin / sysupgrade
index d251cc9..cf79114 100755 (executable)
@@ -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'
This page took 0.030272 seconds and 4 git commands to generate.