From owner-freebsd-questions@FreeBSD.ORG Mon Sep 18 17:40:18 2006 Return-Path: X-Original-To: FreeBSD-Questions@FreeBSD.org Delivered-To: FreeBSD-Questions@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6A7416A492 for ; Mon, 18 Sep 2006 17:40:18 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FC4543D6B for ; Mon, 18 Sep 2006 17:40:13 +0000 (GMT) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 10727 invoked by uid 0); 18 Sep 2006 17:40:11 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (216.186.148.249) by smtp5.knology.net with SMTP; 18 Sep 2006 17:40:11 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id A83902840A; Mon, 18 Sep 2006 12:40:11 -0500 (CDT) Date: Mon, 18 Sep 2006 12:40:11 -0500 From: David Kelly To: FreeBSD-Questions@FreeBSD.org Message-ID: <20060918174011.GB31815@Grumpy.DynDNS.org> References: <450BA57A.7000007@intersonic.se> <44ac4x6zkt.fsf@be-well.ilk.org> <20060918145640.GD21877@Grumpy.DynDNS.org> <17678.52102.19408.417476@jerusalem.litteratus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17678.52102.19408.417476@jerusalem.litteratus.org> User-Agent: Mutt/1.4.2.2i Cc: Subject: Re: how to add flags to ifconfig at boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD-Questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2006 17:40:18 -0000 On Mon, Sep 18, 2006 at 12:38:30PM -0400, Robert Huff wrote: > > David Kelly writes: > > > Or if one needs to ifconfig earlier in the startup process then put > > one's script in /etc/start_if.em0 > > It is my understanding (and experience) this only works when > > ifconfig_em0="" > > in /etc/rc.conf. True only if your options for ifconfig in rc.conf would clear or override whatever it is you put in /etc/start_if_em0. As long as its something that can be done with multiple ifconfigs then all is fine. For example this works fine in /etc/start_if.xl0: #!/bin/sh ifconfig xl0 lladdr 00:01:23:45:67:89 with this in rc.conf: ifconfig_xl0="DHCP" -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.