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:
parent
dfbba31e1d
commit
d90d5ea374
11 changed files with 181 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue