mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-03 00:53:56 +08:00
update 2026-10-02 18:15:02
This commit is contained in:
1 parent
300b28d2ef
commit
ef3dd5ef36
171 files changed
+41506
-25
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