sysupgrade: create state file so procd knows when a sysupgrade is in progress
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36893 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
037242e6e4
commit
b21f877df0
|
@ -180,6 +180,7 @@ fi
|
|||
run_hooks "" $sysupgrade_pre_upgrade
|
||||
|
||||
ubus call system upgrade
|
||||
touch /tmp/sysupgrade
|
||||
|
||||
kill_remaining TERM
|
||||
sleep 3
|
||||
|
|
Loading…
Reference in New Issue