projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] base-files: kill remaining processes after running user hooks (#10461)
[openwrt.git]
/
package
/
base-files
/
files
/
sbin
/
sysupgrade
diff --git
a/package/base-files/files/sbin/sysupgrade
b/package/base-files/files/sbin/sysupgrade
index
7efb2b4
..
cf79114
100755
(executable)
--- a/
package/base-files/files/sbin/sysupgrade
+++ b/
package/base-files/files/sbin/sysupgrade
@@
-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.