Browse Source

sysupgrade: create state file so procd knows when a sysupgrade is in progress

Signed-off-by: John Crispin <[email protected]>

SVN-Revision: 36893
John Crispin 12 years ago
parent
commit
1f52c5a72c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/base-files/files/sbin/sysupgrade

+ 1 - 0
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