1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

OMR-Bypass iptables changes

This commit is contained in:
Ycarus 2018-10-18 14:53:42 +02:00
parent 5b3785a559
commit 56e9d1d158
3 changed files with 37 additions and 23 deletions

View file

@ -49,9 +49,9 @@ if [ -n "$(uci -q get dhcp.dnsmasq[0].ipset)" ]; then
}
fi
if [ "$(uci -q get ucitrack.@shadowsocks-libev[-1].affects | grep omr-bypass)" != "" ]; then
if [ "$(uci -q get ucitrack.@shadowsocks-libev[-1].affects | grep omr-bypass)" = "" ]; then
uci -q batch <<-EOF >/dev/null
del_list ucitrack.@shadowsocks-libev[-1].affects=omr-bypass
add_list ucitrack.@shadowsocks-libev[-1].affects=omr-bypass
EOF
fi
rm -f /tmp/luci-indexcache