projects
/
openwrt
/
staging
/
neocturne.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dff1529
)
sysupgrade: create state file so procd knows when a sysupgrade is in progress
author
John Crispin
<john@openwrt.org>
Mon, 10 Jun 2013 08:24:31 +0000
(08:24 +0000)
committer
John Crispin
<john@openwrt.org>
Mon, 10 Jun 2013 08:24:31 +0000
(08:24 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36893
package/base-files/files/sbin/sysupgrade
patch
|
blob
|
history
diff --git
a/package/base-files/files/sbin/sysupgrade
b/package/base-files/files/sbin/sysupgrade
index 1ad6ea44a1c8716c3839b82ff01a6a6b75d43f24..c507c3bfdfa7bcf643d3d083a617bb470186da2c 100755
(executable)
--- a/
package/base-files/files/sbin/sysupgrade
+++ b/
package/base-files/files/sbin/sysupgrade
@@
-180,6
+180,7
@@
fi
run_hooks "" $sysupgrade_pre_upgrade
ubus call system upgrade
+touch /tmp/sysupgrade
kill_remaining TERM
sleep 3