1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 02:51:50 +00:00

Set to ss-rules as all if multiples ports

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-02-07 17:07:18 +01:00
parent d2a8784f01
commit b1e26d8b49

View file

@ -60,7 +60,10 @@ if [ "$(uci -q get openmptcprouter.latest_versions)" = "" ]; then
EOF
port=$((port+1))
done
uci -q commit shadowsocks-libev
uci -q batch <<-EOF > /dev/null
set shadowsocks-libev.ss_rules.redir_tcp=all
commit shadowsocks-libev
EOF
fi
fi
if [ "$(uci -q get shadowsocks-libev.hi.obfs)" = "1" ]; then