luci-app-passwall: sync upstream

last commit: b265ecb7c9
This commit is contained in:
gitea-action 2025-01-14 12:00:20 +08:00
parent be24429a51
commit 53daef9365

View File

@ -543,7 +543,7 @@ function create_backup()
"/usr/share/passwall/rules/proxy_host",
"/usr/share/passwall/rules/proxy_ip"
}
local date = os.date("%Y%m%d")
local date = os.date("%y%m%d%H%M")
local tar_file = "/tmp/passwall-" .. date .. "-backup.tar.gz"
fs.remove(tar_file)
local cmd = "tar -czf " .. tar_file .. " " .. table.concat(backup_files, " ")