From 1f52c5a72c0d5e65544c372d8c5b862f312c0cfa Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 10 Jun 2013 08:24:31 +0000 Subject: sysupgrade: create state file so procd knows when a sysupgrade is in progress Signed-off-by: John Crispin SVN-Revision: 36893 --- package/base-files/files/sbin/sysupgrade | 1 + 1 file changed, 1 insertion(+) (limited to 'package/base-files/files') diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 1ad6ea4..c507c3b 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 -- cgit v1.1