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

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 19 Feb 1998, Tim Tsai wrote:

> 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?

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major



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?Pine.BSF.3.96.980219154021.658U-100000>