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

Add custom proto support for omr-bypass

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-09-09 21:28:35 +02:00
parent c8eb844b62
commit 29b42e36a1
3 changed files with 27 additions and 1 deletions

View file

@ -64,5 +64,15 @@ if [ "$(uci -q get firewall.omr-bypass)" = "" ]; then
EOF
fi
if [ "$(uci -q get omr-bypass.m6replay)" = "" ]; then
uci -q batch <<-EOF >/dev/null
set omr-bypass.m6replay=proto
add_list omr-bypass.m6replay.url='m6web.fr'
add_list omr-bypass.m6replay.url='6play.fr'
add_list omr-bypass.m6replay.url='6cloud.fr'
commit omr-bypass
EOF
fi
rm -f /tmp/luci-indexcache
exit 0