From owner-freebsd-questions Thu Feb 19 19:16:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA26175 for freebsd-questions-outgoing; Thu, 19 Feb 1998 19:16:32 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from shell.futuresouth.com (shell.futuresouth.com [207.141.254.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA26080 for ; Thu, 19 Feb 1998 19:15:56 -0800 (PST) (envelope-from tim@shell.futuresouth.com) Received: (from tim@localhost) by shell.futuresouth.com (8.8.8/8.8.8) id VAA13579; Thu, 19 Feb 1998 21:15:32 -0600 (CST) Message-ID: <19980219211532.58645@futuresouth.com> Date: Thu, 19 Feb 1998 21:15:32 -0600 From: Tim Tsai To: Doug White Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /etc/rc.network problems/questions References: <19980219043436.31978@futuresouth.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: ; from Doug White on Thu, Feb 19, 1998 at 03:40:33PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > in /etc/rc.network we have these lines: > > > > for ifn in ${network_interfaces}; do > > if [ -e /etc/start_if.${ifn} ]; then > > . /etc/start_if.${ifn} ${ifn} > > fi > > > > but to my best knowlege, the "." builtin doesn't take parameters. > > > > Why am I missing? > > > > if I create a start_if.fxp0 file, for example, that looks like this: > > > > ifconfig $1 inet 192.168.1.1 netmask 255.255.255.255 alias > > > > the $1 expands to nothing. > > > > What am I missing? Is everybody else hardcoding the interface name into > > start_if.ifn? > > ifconfig lines tend to be system-specific, so why would you bother? Well, for one thing it's wrong. Aren't FreeBSD folks the ones who nitpicks on every detail??!! :-) Mostly I bothered because it was there. Also, it'd be a tad easier if I change the ethernet interface (most of our machines have a fxp0 and then an ed0 interface as backup). Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message