mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add domains needed for amazonvideo bypass
This commit is contained in:
parent
ac1054f079
commit
60fa1ac259
1 changed files with 8 additions and 0 deletions
|
@ -110,6 +110,14 @@ if [ "$(uci -q get omr-bypass.disneyplus)" = "" ]; then
|
||||||
commit omr-bypass
|
commit omr-bypass
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
if [ "$(uci -q get omr-bypass.amazonvideo)" = "" ]; then
|
||||||
|
uci -q batch <<-EOF >/dev/null
|
||||||
|
set omr-bypass.amazonvideo=proto
|
||||||
|
add_list omr-bypass.amazonvideo.url='cloudfront.net'
|
||||||
|
add_list omr-bypass.amazonvideo.url='llnw.net'
|
||||||
|
commit omr-bypass
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
if [ ! -f /etc/crontabs/root ] || [ "$(cat /etc/crontabs/root | grep bypass)" = "" ]; then
|
if [ ! -f /etc/crontabs/root ] || [ "$(cat /etc/crontabs/root | grep bypass)" = "" ]; then
|
||||||
echo "0 2 * * * /etc/init.d/omr-bypass bypass_asn" >> /etc/crontabs/root
|
echo "0 2 * * * /etc/init.d/omr-bypass bypass_asn" >> /etc/crontabs/root
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue