mirror of https://github.com/hak5/openwrt.git
sysupgrade: create state file so procd knows when a sysupgrade is in progress
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36893lede-17.01
parent
dff1529d2a
commit
1f52c5a72c
|
@ -180,6 +180,7 @@ fi
|
||||||
run_hooks "" $sysupgrade_pre_upgrade
|
run_hooks "" $sysupgrade_pre_upgrade
|
||||||
|
|
||||||
ubus call system upgrade
|
ubus call system upgrade
|
||||||
|
touch /tmp/sysupgrade
|
||||||
|
|
||||||
kill_remaining TERM
|
kill_remaining TERM
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|
Loading…
Reference in New Issue