diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.d/network_ipv6 | 24 | ||||
-rw-r--r-- | etc/rc.network6 | 24 |
2 files changed, 10 insertions, 38 deletions
diff --git a/etc/rc.d/network_ipv6 b/etc/rc.d/network_ipv6 index aa50306..6b4809f 100644 --- a/etc/rc.d/network_ipv6 +++ b/etc/rc.d/network_ipv6 @@ -91,24 +91,10 @@ network6_pass1() { case ${ipv6_network_interfaces} in [Aa][Uu][Tt][Oo]) - case ${ipv6_gateway_enable} in - [Yy][Ee][Ss]) - # - # list of interfaces, and prefix for interfaces - # - ipv6_network_interfaces="`ifconfig -l`" - ;; - *) - # - # manual configurations - in case ip6_gateway_enable=NO - # you can configure only single interface, - # as specification assumes that - # autoconfigured host has single interface only. - # - set `ifconfig -l` - ipv6_network_interfaces="$1" - ;; - esac + # + # list of interfaces, and prefix for interfaces + # + ipv6_network_interfaces="`ifconfig -l`" ;; esac @@ -211,7 +197,7 @@ network6_pass1() { '') for i in ${ipv6_network_interfaces}; do case $i in - stf*) + lo0|gif*|stf*|faith*) continue ;; *) diff --git a/etc/rc.network6 b/etc/rc.network6 index aa50306..6b4809f 100644 --- a/etc/rc.network6 +++ b/etc/rc.network6 @@ -91,24 +91,10 @@ network6_pass1() { case ${ipv6_network_interfaces} in [Aa][Uu][Tt][Oo]) - case ${ipv6_gateway_enable} in - [Yy][Ee][Ss]) - # - # list of interfaces, and prefix for interfaces - # - ipv6_network_interfaces="`ifconfig -l`" - ;; - *) - # - # manual configurations - in case ip6_gateway_enable=NO - # you can configure only single interface, - # as specification assumes that - # autoconfigured host has single interface only. - # - set `ifconfig -l` - ipv6_network_interfaces="$1" - ;; - esac + # + # list of interfaces, and prefix for interfaces + # + ipv6_network_interfaces="`ifconfig -l`" ;; esac @@ -211,7 +197,7 @@ network6_pass1() { '') for i in ${ipv6_network_interfaces}; do case $i in - stf*) + lo0|gif*|stf*|faith*) continue ;; *) |