mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 10:31:51 +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
|
||||
EOF
|
||||
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
|
||||
echo "0 2 * * * /etc/init.d/omr-bypass bypass_asn" >> /etc/crontabs/root
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue