mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-02 22:33:56 +08:00
update 2026-08-25 00:29:42
This commit is contained in:
1 parent
0f2308381e
commit
c37bb21446
44 files changed
+4642
-4640
No files matched your search
@@ -161,6 +161,7 @@ local function start()
|
||||
end)
|
||||
if firewall_num > 0 then
|
||||
api.uci_save(uci, "firewall", true, true)
|
||||
cmd("/etc/init.d/firewall reload >/dev/null 2>&1")
|
||||
end
|
||||
end
|
||||
|
||||
@@ -176,6 +177,7 @@ local function stop()
|
||||
end)
|
||||
if num > 0 then
|
||||
api.uci_save(uci, "firewall", true, true)
|
||||
cmd("/etc/init.d/firewall reload >/dev/null 2>&1")
|
||||
end
|
||||
end
|
||||
cmd(string.format("rm -rf %s %s", CONFIG_PATH, LOG_APP_FILE))
|
||||
|
||||
Reference in new issue
Block a user