update 2026-09-28 18:25:11

This commit is contained in:
action committed 2026-09-28 18:25:11 +08:00
1 parent 5b56b0238b
commit 5a3dad58e1
189 files changed
+59 -41779

No files matched your search

@@ -800,15 +800,11 @@ if not rollback then
end
if reboot == 1 then
if arg3 == "cron" then
if not fs.access(api.LOCK_PREFIX .. ".lock") then
luci.sys.call("touch %s_cron.lock" % api.LOCK_PREFIX)
end
end
log("重启服务,应用新的规则。")
uci_set("@global[0]", "flush_set", "1")
uci_save(true, true)
uci_save(true)
local action = (arg3 == "cron") and " cron" or ""
luci.sys.call("/etc/init.d/passwall restart%s > /dev/null 2>&1 &" % action)
end
log("规则更新完毕...\n")