mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Less log for omr-6in4
This commit is contained in:
parent
3e113f38d9
commit
de34c23a11
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ while true; do
|
||||||
[ "$ipv6_gw" = "::" ] && ipv6_gw='fe80::a00:1'
|
[ "$ipv6_gw" = "::" ] && ipv6_gw='fe80::a00:1'
|
||||||
[ -z "$ipv6_gw" ] && ipv6_gw='fe80::a00:1'
|
[ -z "$ipv6_gw" ] && ipv6_gw='fe80::a00:1'
|
||||||
#[ -z "$ipv6_gw" ] && ipv6_gw='fe80::aff:ff01'
|
#[ -z "$ipv6_gw" ] && ipv6_gw='fe80::aff:ff01'
|
||||||
ip -6 route add ${ipv6_gw} dev 6in4-omr6in4
|
ip -6 route add ${ipv6_gw} dev 6in4-omr6in4 > /dev/null 2>&1
|
||||||
|
ip -6 route 2002::/16 dev 6in4-omr6in4 > /dev/null 2>&1
|
||||||
ip -6 route replace default via ${ipv6_gw} dev 6in4-omr6in4 > /dev/null 2>&1
|
ip -6 route replace default via ${ipv6_gw} dev 6in4-omr6in4 > /dev/null 2>&1
|
||||||
if [ "$(uci -q get openmptcprouter.settings.uci_route)" = "1" ]; then
|
if [ "$(uci -q get openmptcprouter.settings.uci_route)" = "1" ]; then
|
||||||
uci -q batch <<-EOF
|
uci -q batch <<-EOF
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue