From: John Crispin Date: Mon, 10 Jun 2013 08:24:31 +0000 (+0000) Subject: sysupgrade: create state file so procd knows when a sysupgrade is in progress X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c0a3ec31eb8f3023fdf5a1faa5648be433761414;p=openwrt%2Fsvn-archive%2Farchive.git sysupgrade: create state file so procd knows when a sysupgrade is in progress Signed-off-by: John Crispin SVN-Revision: 36893 --- diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 1ad6ea44a1..c507c3bfdf 100755 --- 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