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

Add DPI support to OMR-Bypass

This commit is contained in:
Ycarus 2018-06-22 10:50:17 +02:00
parent dfbba31e1d
commit d90d5ea374
11 changed files with 181 additions and 16 deletions

View file

@ -7,5 +7,16 @@ uci -q batch <<-EOF >/dev/null
commit ucitrack
EOF
if [ "$(uci -q get omr-bypass.dpi)" = "" ]; then
uci -q batch <<-EOF >/dev/null
set omr-bypass.dpi=bypass
EOF
fi
if [ "$(uci -q get ucitrack.@shadowsocks-libev[-1].affects)" = "" ]; then
uci -q batch <<-EOF >/dev/null
set ucitrack.@shadowsocks-libev[-1].affects=omr-bypass
EOF
fi
rm -f /tmp/luci-indexcache
exit 0