mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-15 04:53:00 +08:00
✨ Sync 2026-04-22 04:42:14
This commit is contained in:
1 parent
9637c56cbd
commit
8541cb3d03
17 files changed
+275
-43
No files matched your search
@@ -659,7 +659,11 @@ function save_node_list_opt()
|
||||
end
|
||||
|
||||
function update_rules()
|
||||
local update = http.formvalue("update")
|
||||
local update = http.formvalue("update") or ""
|
||||
if update == "" then
|
||||
http_write_json_error({ message = "missing update target" })
|
||||
return
|
||||
end
|
||||
luci.sys.call("lua /usr/share/passwall2/rule_update.lua log '" .. update .. "' > /dev/null 2>&1 &")
|
||||
http_write_json()
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user