mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 02:15:13 +08:00
🎁 Sync 2026-08-05 20:25:34
This commit is contained in:
1 parent
e71d910024
commit
ca3fdb1643
31 files changed
+374
-113
No files matched your search
@@ -15,7 +15,7 @@ end
|
||||
|
||||
function act_status()
|
||||
local e = {}
|
||||
e.running = luci.sys.call("iptables -L INPUT |grep MIAPLUS >/dev/null") == 0
|
||||
e.running = luci.sys.call("iptables -t filter -S MIAPLUS >/dev/null 2>&1") == 0
|
||||
luci.http.prepare_content("application/json")
|
||||
luci.http.write_json(e)
|
||||
end
|
||||
Reference in new issue
Block a user