From owner-cvs-all Wed Feb 23 14:13:20 2000 Delivered-To: cvs-all@freebsd.org Received: from holly.calldei.com (adsl-208-191-146-189.dsl.hstntx.swbell.net [208.191.146.189]) by hub.freebsd.org (Postfix) with ESMTP id 9881337BA11; Wed, 23 Feb 2000 14:13:11 -0800 (PST) (envelope-from chris@holly.calldei.com) Received: (from chris@localhost) by holly.calldei.com (8.9.3/8.9.3) id QAA12880; Wed, 23 Feb 2000 16:14:49 -0600 (CST) (envelope-from chris) Date: Wed, 23 Feb 2000 16:14:49 -0600 From: Chris Costello To: Yoshinobu Inoue Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc rc.network6 rc src/etc/defaults rc.conf Message-ID: <20000223161449.A12338@holly.calldei.com> Reply-To: chris@calldei.com References: <200002231805.KAA97907@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=VbJkn9YxBvnuCH5J User-Agent: Mutt/0.96.4i In-Reply-To: <200002231805.KAA97907@freefall.freebsd.org> X-URL: http://www.FreeBSD.org/~chris/ Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii On Wednesday, February 23, 2000, Yoshinobu Inoue wrote: > Initial version created by, and kindly much tested by: > bmah@CA.Sandia.GOV (Bruce A. Mah) Consider applying the attached diff in order to solve the following problems: - Gratuitous, unnecessary use of awk. - A comment nit. -- |Chris Costello |Exclusive: We're the only ones who have the documentation. `---------------------------------------------------------- --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Description: net6.diff Content-Disposition: attachment; filename="net6.diff" Index: rc.network6 =================================================================== RCS file: /home/ncvs/src/etc/rc.network6,v retrieving revision 1.1 diff -u -r1.1 rc.network6 --- rc.network6 2000/02/23 18:05:57 1.1 +++ rc.network6 2000/02/23 22:10:30 @@ -1,8 +1,8 @@ #! /bin/sh # $FreeBSD: src/etc/rc.network6,v 1.1 2000/02/23 18:05:57 shin Exp $ -# 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 @@ 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 @@ done # again, wait for DAD's completion (for global addrs) - sleep `sysctl net.inet6.ip6.dad_count | awk '{print $NF}'` + sleep `sysctl -w net.inet6.ip6.dad_count` sleep 1 # gifconfig @@ -168,7 +168,7 @@ # 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 --VbJkn9YxBvnuCH5J-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message