mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 21:05:13 +08:00
🐤 Sync 2026-10-03 00:12:36
This commit is contained in:
1 parent
ce3df55b24
commit
cb1d978497
58 files changed
+1627
-1018
No files matched your search
@@ -239,8 +239,8 @@ uci_save(true)
|
||||
|
||||
if reboot == 1 then
|
||||
if arg3 == "cron" then
|
||||
if not fs.access("/var/lock/" .. appname .. ".lock") then
|
||||
sys.call("touch /tmp/lock/" .. appname .. "_cron.lock")
|
||||
if not fs.access(api.LOCK_PREFIX .. ".lock") then
|
||||
sys.call("touch %s_cron.lock" % api.LOCK_PREFIX)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user