mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 18:41:51 +00:00
Rename shadowsocks ss-redir from hi to hi1
This commit is contained in:
parent
d77382ac8c
commit
9476921bd5
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
if [ "$(uci -q get shadowsocks-libev.hi)" != ""; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
rename shadowsocks-libev.hi="hi1"
|
||||
rename shadowsocks-libev.hi=hi1
|
||||
commit shadowsocks-libev
|
||||
EOF
|
||||
fi
|
||||
|
@ -70,7 +70,7 @@ if [ "$(uci -q get shadowsocks-libev.hi3)" != "" ]; then
|
|||
EOF
|
||||
fi
|
||||
|
||||
if [ "$(uci -q get shadowsocks-libev.hi.obfs)" = "1" ]; then
|
||||
if [ "$(uci -q get shadowsocks-libev.hi1.obfs)" = "1" ]; then
|
||||
uci -q batch <<-EOF > /dev/null
|
||||
set shadowsocks-libev.sss0.obfs=1
|
||||
set shadowsocks-libev.sss0.obfs_plugin="$(uci -q get shadowsocks-libev.hi1.obfs_plugin)"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
config ss_redir hi
|
||||
config ss_redir hi1
|
||||
option server 'sss0'
|
||||
option local_address '::'
|
||||
option local_port '1100'
|
||||
|
|
Loading…
Reference in a new issue