mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-15 13:03:00 +08:00
🎄 Sync 2026-08-30 03:21:07
This commit is contained in:
1 parent
c2438b27c7
commit
85339c08e1
30 files changed
+647
-93
No files matched your search
@@ -685,6 +685,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