luci-app-ssr-plus: sync upstream

last commit: 32940b97b6
This commit is contained in:
gitea-action 2025-01-18 15:30:16 +08:00
parent 35ef44a415
commit 9e84c75322
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ function create_backup()
"/etc/config/shadowsocksr", "/etc/config/shadowsocksr",
"/etc/ssrplus/*" "/etc/ssrplus/*"
} }
local date = os.date("%Y%m%d") local date = os.date("%Y-%m-%d-%H-%M-%S")
local tar_file = "/tmp/shadowsocksr-" .. date .. "-backup.tar.gz" local tar_file = "/tmp/shadowsocksr-" .. date .. "-backup.tar.gz"
nixio.fs.remove(tar_file) nixio.fs.remove(tar_file)
local cmd = "tar -czf " .. tar_file .. " " .. table.concat(backup_files, " ") local cmd = "tar -czf " .. tar_file .. " " .. table.concat(backup_files, " ")

View File

@ -121,7 +121,7 @@ index b469328..3a0b055 100644
bool "Include ShadowsocksR Libev Client" bool "Include ShadowsocksR Libev Client"
default y default y
diff --git a/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua b/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua diff --git a/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua b/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua
index 0469b87..eb7ccb7 100644 index 31989b0..75e141f 100644
--- a/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua --- a/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua
+++ b/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua +++ b/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua
@@ -7,7 +7,7 @@ function index() @@ -7,7 +7,7 @@ function index()