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:
parent
84a0fe47b3
commit
34c6565016
2 changed files with 43 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue