mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix ShadowSocks-Rust check on key instead of password field
This commit is contained in:
parent
c10983f2de
commit
bdee3d1794
4 changed files with 7 additions and 7 deletions
|
@ -1063,8 +1063,8 @@ function wizard_add()
|
|||
ucic:set("shadowsocks-rust","sss0","disabled","1")
|
||||
ucic:set("shadowsocks-rust","sss1","disabled","1")
|
||||
end
|
||||
ucic:set("shadowsocks-rust","sss0","key","")
|
||||
ucic:set("shadowsocks-rust","sss1","key","")
|
||||
ucic:set("shadowsocks-rust","sss0","password","")
|
||||
ucic:set("shadowsocks-rust","sss1","password","")
|
||||
ucic:set("xray","omrout","s_shadowsocks_password","")
|
||||
ucic:save("shadowsocks-rust")
|
||||
ucic:commit("shadowsocks-rust")
|
||||
|
|
|
@ -15,7 +15,7 @@ uci show | \
|
|||
-e "/shadowsocks-libev\.sss.*\.server=/s/......$/xxxxxx'/" \
|
||||
-e "/shadowsocks-libev\.sss.*\.key=/s/......$/xxxxxx'/" \
|
||||
-e "/shadowsocks-rust\.sss.*\.server=/s/......$/xxxxxx'/" \
|
||||
-e "/shadowsocks-rust\.sss.*\.key=/s/......$/xxxxxx'/" \
|
||||
-e "/shadowsocks-rust\.sss.*\.password=/s/......$/xxxxxx'/" \
|
||||
-e "/external_ip=/s/......$/xxxxxx'/" \
|
||||
-e "/obfs_host=/s/..........$/xxxxxx'/" \
|
||||
-e "/vmess_address=/s/......$/xxxxxx'/" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue