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

Some changes for IPv6 support in omr-bypass

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-05-07 08:53:12 +02:00
parent 84a0fe47b3
commit 34c6565016
2 changed files with 43 additions and 3 deletions

View file

@ -118,6 +118,13 @@ if [ "$(uci -q get omr-bypass.amazonvideo)" = "" ]; then
commit omr-bypass
EOF
fi
#if [ "$(uci -q get omr-bypass.global)" = "" ]; then
# uci -q batch <<-EOF >/dev/null
# set omr-bypass.global=global
# set omr-bypass.global.noipv6='0'
# 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