summaryrefslogtreecommitdiffstats
path: root/etc/rc.network6
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-02-24 06:51:03 +0000
committershin <shin@FreeBSD.org>2000-02-24 06:51:03 +0000
commitb171311de4139fb96281524c4c855d7a889e45ca (patch)
tree4a3bde385c9e6bfd6ed762252babbf1dd4912508 /etc/rc.network6
parentd60db65e7c4a617b5690fa377e61f90ad6fc67b5 (diff)
downloadFreeBSD-src-b171311de4139fb96281524c4c855d7a889e45ca.zip
FreeBSD-src-b171311de4139fb96281524c4c855d7a889e45ca.tar.gz
-Removed unnecessary use of awk.
-small comment fix. Approved by: jkh Submitted by: Chris Costello <chris@calldei.com>
Diffstat (limited to 'etc/rc.network6')
-rw-r--r--etc/rc.network610
1 files changed, 5 insertions, 5 deletions
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
OpenPOWER on IntegriCloud