Update On Tue Jan 7 19:34:45 CET 2025

This commit is contained in:
github-action[bot]
2025-01-07 19:34:45 +01:00
parent 76a5c426f5
commit 6e95e44dd2
217 changed files with 799 additions and 766 deletions
@@ -93,6 +93,9 @@ local function fetch_geoip()
end
end
end
if json.message then
log(json.message)
end
end,
function(e)
end)
@@ -144,6 +147,9 @@ local function fetch_geosite()
end
end
end
if json.message then
log(json.message)
end
end,
function(e)
end)
@@ -196,10 +202,7 @@ if reboot == 1 then
end
log("重启服务,应用新的规则。")
if use_nft == "1" then
sys.call("sh /usr/share/" .. name .. "/nftables.sh flush_nftset_reload > /dev/null 2>&1 &")
else
sys.call("sh /usr/share/" .. name .. "/iptables.sh flush_ipset_reload > /dev/null 2>&1 &")
end
uci:set(name, "@global[0]", "flush_set", "1")
api.uci_save(uci, name, true, true)
end
log("规则更新完毕...")