Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 1998 21:15:32 -0600
From:      Tim Tsai <tim@futuresouth.com>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: /etc/rc.network problems/questions
Message-ID:  <19980219211532.58645@futuresouth.com>
In-Reply-To: <Pine.BSF.3.96.980219154021.658U-100000@gdi.uoregon.edu>; from Doug White on Thu, Feb 19, 1998 at 03:40:33PM -0800
References:  <19980219043436.31978@futuresouth.com> <Pine.BSF.3.96.980219154021.658U-100000@gdi.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980219211532.58645>