mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix config for shadowsocks
This commit is contained in:
parent
30c38943f1
commit
1420974bbf
1 changed files with 4 additions and 4 deletions
|
@ -77,10 +77,10 @@ if [ "$(uci -q get shadowsocks-libev.hi.obfs)" = "1" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$(uci -q get ucitrack.@shadowsocks-libev[*1].affects | grep openmptcprouter-vps)" = "" ]; then
|
if [ "$(uci -q get ucitrack.@shadowsocks-libev[*1].affects | grep openmptcprouter-vps)" = "" ]; then
|
||||||
uci -q batch <<-EOF >/dev/null
|
uci -q batch <<-EOF >/dev/null
|
||||||
add_list ucitrack.@shadowsocks-libev[-1].affects="openmptcprouter-vps"
|
add_list ucitrack.@shadowsocks-libev[-1].affects="openmptcprouter-vps"
|
||||||
commit ucitrack
|
commit ucitrack
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue