parent
35ef44a415
commit
9e84c75322
@ -151,7 +151,7 @@ function create_backup()
|
||||
"/etc/config/shadowsocksr",
|
||||
"/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"
|
||||
nixio.fs.remove(tar_file)
|
||||
local cmd = "tar -czf " .. tar_file .. " " .. table.concat(backup_files, " ")
|
||||
|
@ -121,7 +121,7 @@ index b469328..3a0b055 100644
|
||||
bool "Include ShadowsocksR Libev Client"
|
||||
default y
|
||||
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
|
||||
+++ b/luci-app-ssr-plus/luasrc/controller/shadowsocksr.lua
|
||||
@@ -7,7 +7,7 @@ function index()
|
||||
|
Loading…
Reference in New Issue
Block a user