Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 1998 04:34:36 -0600
From:      Tim Tsai <tim@futuresouth.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   /etc/rc.network problems/questions
Message-ID:  <19980219043436.31978@futuresouth.com>
References:  <Pine.3.89.9802171053.A18134-0100000@netcom9> <Pine.BSF.3.96.980217123146.12338P-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?

Thanks!

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