mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Force check of backup when new VPS is created, fix reset of SS encryption #https://github.com/Ysurac/openmptcprouter/issues/316
This commit is contained in:
parent
5b10fe3bd5
commit
0e2a8e15d9
2 changed files with 3 additions and 3 deletions
|
@ -355,8 +355,8 @@ function wizard_add()
|
|||
local shadowsocks_disable = luci.http.formvalue("disableshadowsocks") or "0"
|
||||
if shadowsocks_key ~= "" then
|
||||
ucic:set("shadowsocks-libev","sss0","key",shadowsocks_key)
|
||||
ucic:set("shadowsocks-libev","sss0","method","chacha20")
|
||||
ucic:set("shadowsocks-libev","sss0","server_port","65101")
|
||||
--ucic:set("shadowsocks-libev","sss0","method","chacha20")
|
||||
--ucic:set("shadowsocks-libev","sss0","server_port","65101")
|
||||
ucic:set("shadowsocks-libev","sss0","disabled",shadowsocks_disable)
|
||||
ucic:save("shadowsocks-libev")
|
||||
ucic:commit("shadowsocks-libev")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue