1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 10:31:51 +00:00

feat: support orange and free bypass (#186)

This commit is contained in:
Yoan Pintas 2023-05-25 13:11:37 +02:00 committed by GitHub
parent 9c1c926ad4
commit cc624d9e52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

9
contributors/yostyle.md Normal file
View file

@ -0,0 +1,9 @@
2023-05-23
I hereby agree to the terms of the "OpenMPTCProuter Individual Contributor License Agreement", with MD5 checksum bc827a07eb93611d793ddb7c75083c00.
I furthermore declare that I am authorized and able to make this agreement and sign this declaration.
Signed,
Yoan Pintas https://github.com/yostyle

View file

@ -118,6 +118,29 @@ if [ "$(uci -q get omr-bypass.amazonvideo)" = "" ]; then
commit omr-bypass
EOF
fi
if [ "$(uci -q get omr-bypass.free)" = "" ]; then
uci -q batch <<-EOF >/dev/null
set omr-bypass.free=proto
add_list omr-bypass.free.url='free.fr'
add_list omr-bypass.free.url='freebox.fr'
add_list omr-bypass.free.url='oqee.tv'
add_list omr-bypass.free.url='oqee.net'
commit omr-bypass
EOF
fi
if [ "$(uci -q get omr-bypass.orange)" = "" ]; then
uci -q batch <<-EOF >/dev/null
set omr-bypass.orange=proto
add_list omr-bypass.orange.url='orange.fr'
add_list omr-bypass.orange.url='sosh.fr'
add_list omr-bypass.orange.url='liveperson.net'
add_list omr-bypass.orange.url='liveperson.com'
add_list omr-bypass.orange.url='lpsn.net'
add_list omr-bypass.orange.url='lpsnmedia.net'
add_list omr-bypass.orange.url='francetelecom.fr'
commit omr-bypass
EOF
fi
#if [ "$(uci -q get omr-bypass.global)" = "" ]; then
# uci -q batch <<-EOF >/dev/null
# set omr-bypass.global=global