1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2020-03-27 10:22:07 +01:00
parent 30c38943f1
commit 1420974bbf

View file

@ -77,10 +77,10 @@ if [ "$(uci -q get shadowsocks-libev.hi.obfs)" = "1" ]; then
fi
if [ "$(uci -q get ucitrack.@shadowsocks-libev[*1].affects | grep openmptcprouter-vps)" = "" ]; then
uci -q batch <<-EOF >/dev/null
add_list ucitrack.@shadowsocks-libev[-1].affects="openmptcprouter-vps"
commit ucitrack
EOF
uci -q batch <<-EOF >/dev/null
add_list ucitrack.@shadowsocks-libev[-1].affects="openmptcprouter-vps"
commit ucitrack
EOF
fi
rm -f /tmp/luci-indexcache