mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-04 00:33:56 +08:00
update 2026-08-30 06:12:28
This commit is contained in:
1 parent
a93b4d6f7f
commit
b09780b109
1966 files changed
+1523160
-62
No files matched your search
@@ -629,6 +629,8 @@ function rollback_rules()
|
||||
local geo_dir = (uci_get("@global_rules[0]", "v2ray_location_asset") or "/usr/share/v2ray/")
|
||||
fs.move(bak_dir .. arg_type .. ".dat", geo_dir .. arg_type .. ".dat")
|
||||
fs.rmdir(bak_dir)
|
||||
uci_set("@global[0]", "flush_set", "1")
|
||||
uci_save(true)
|
||||
http_write_json_ok()
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user