diff options
-rw-r--r-- | etc/rc.d/network_ipv6 | 10 | ||||
-rw-r--r-- | etc/rc.network6 | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/etc/rc.d/network_ipv6 b/etc/rc.d/network_ipv6 index bc18d79..595ef2a 100644 --- a/etc/rc.d/network_ipv6 +++ b/etc/rc.d/network_ipv6 @@ -1,8 +1,8 @@ #! /bin/sh # $FreeBSD$ -# Note that almost all of the user-configurable behavior is no longer in -# this file, but rather in /etc/defaults/rc.conf. Please check that file +# Note that almost all of the user-configurable behavior is not in this +# file, but rather in /etc/defaults/rc.conf. Please check that file # first before contemplating any changes here. If you do need to change # this file for some reason, we would like to know about it. @@ -55,7 +55,7 @@ network6_pass1() { for i in $ipv6_network_interfaces; do ifconfig $i up done - sleep `sysctl net.inet6.ip6.dad_count | awk '{print $NF}'` + sleep `sysctl -n net.inet6.ip6.dad_count` sleep 1 # setting up interfaces @@ -97,7 +97,7 @@ network6_pass1() { done # again, wait for DAD's completion (for global addrs) - sleep `sysctl net.inet6.ip6.dad_count | awk '{print $NF}'` + sleep `sysctl -n net.inet6.ip6.dad_count` sleep 1 # gifconfig @@ -168,7 +168,7 @@ network6_pass1() { # wait for DAD's completion (for global addrs) - sleep `sysctl net.inet6.ip6.dad_count | awk '{print $NF}'` + sleep `sysctl -n net.inet6.ip6.dad_count` sleep 1 # gifconfig diff --git a/etc/rc.network6 b/etc/rc.network6 index bc18d79..595ef2a 100644 --- a/etc/rc.network6 +++ b/etc/rc.network6 @@ -1,8 +1,8 @@ #! /bin/sh # $FreeBSD$ -# Note that almost all of the user-configurable behavior is no longer in -# this file, but rather in /etc/defaults/rc.conf. Please check that file +# Note that almost all of the user-configurable behavior is not in this +# file, but rather in /etc/defaults/rc.conf. Please check that file # first before contemplating any changes here. If you do need to change # this file for some reason, we would like to know about it. @@ -55,7 +55,7 @@ network6_pass1() { for i in $ipv6_network_interfaces; do ifconfig $i up done - sleep `sysctl net.inet6.ip6.dad_count | awk '{print $NF}'` + sleep `sysctl -n net.inet6.ip6.dad_count` sleep 1 # setting up interfaces @@ -97,7 +97,7 @@ network6_pass1() { done # again, wait for DAD's completion (for global addrs) - sleep `sysctl net.inet6.ip6.dad_count | awk '{print $NF}'` + sleep `sysctl -n net.inet6.ip6.dad_count` sleep 1 # gifconfig @@ -168,7 +168,7 @@ network6_pass1() { # wait for DAD's completion (for global addrs) - sleep `sysctl net.inet6.ip6.dad_count | awk '{print $NF}'` + sleep `sysctl -n net.inet6.ip6.dad_count` sleep 1 # gifconfig |