From owner-svn-src-all@FreeBSD.ORG Sat Sep 12 22:26:28 2009 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03ED61065670; Sat, 12 Sep 2009 22:26:28 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id CAD7F8FC16; Sat, 12 Sep 2009 22:26:26 +0000 (UTC) Received: from ice.local ([10.0.0.115]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n8CMQPKJ098685 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 12 Sep 2009 15:26:26 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <4AAC2011.1010308@errno.com> Date: Sat, 12 Sep 2009 15:26:25 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Hiroki Sato References: <200909122214.n8CMEL8F098946@svn.freebsd.org> In-Reply-To: <200909122214.n8CMEL8F098946@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r197140 - head/etc/rc.d X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 22:26:28 -0000 Hiroki Sato wrote: > Author: hrs > Date: Sat Sep 12 22:14:21 2009 > New Revision: 197140 > URL: http://svn.freebsd.org/changeset/base/197140 > > Log: > - Add "AUTO" keyword support in $rtadvd_interfaces. > - Wrap a long line. > > MFC after: 3 days > > Modified: > head/etc/rc.d/rtadvd > > Modified: head/etc/rc.d/rtadvd > ============================================================================== > --- head/etc/rc.d/rtadvd Sat Sep 12 22:13:41 2009 (r197139) > +++ head/etc/rc.d/rtadvd Sat Sep 12 22:14:21 2009 (r197140) > @@ -40,10 +40,25 @@ rtadvd_precmd() > # get a list of interfaces and enable it on them > # > case ${rtadvd_interfaces} in > - '') > + [Aa][Uu][Tt][Oo]|'') > for i in `ifconfig -l` ; do > case $i in > - lo0|gif[0-9]*|stf[0-9]*|faith[0-9]*|lp[0-9]*|sl[0-9]*|tun[0-9]*) > + lo0|\ > + stf[0-9]*|\ > + faith[0-9]*|\ > + lp[0-9]*|\ > + sl[0-9]*|\ > + pflog[0-9]*|\ > + pfsync[0-9]*|\ > + an[0-9]*|\ > + ath[0-9]*|\ > + ipw[0-9]*|\ > + iwi[0-9]*|\ > + iwn[0-9]*|\ > + ral[0-9]*|\ > + wi[0-9]*|\ > + wl[0-9]*|\ > + wpi[0-9]*) > continue > ;; > *) > > You look to be enumerating wireless devices. If so you should use the media type instead of device names. Sam