From owner-freebsd-questions Fri Feb 20 06:12:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA24082 for freebsd-questions-outgoing; Fri, 20 Feb 1998 06:12:22 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from horton.iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA24061 for ; Fri, 20 Feb 1998 06:12:11 -0800 (PST) (envelope-from proot@horton.iaces.com) Received: (from proot@localhost) by horton.iaces.com (8.8.7/8.8.7) id IAA15608; Fri, 20 Feb 1998 08:10:20 -0600 (CST) From: "Paul T. Root" Message-Id: <199802201410.IAA15608@horton.iaces.com> Subject: Re: /etc/rc.network problems/questions To: dwhite@resnet.uoregon.edu Date: Fri, 20 Feb 1998 08:10:20 -0600 (CST) Cc: tim@futuresouth.com, freebsd-questions@FreeBSD.ORG In-Reply-To: from Doug White at "Feb 19, 98 03:40:33 pm" X-Organization: USWEST !nterprise Networking - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In a previous message, Doug White said: > 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? I use it for dhcp client. It works slick. -- What do you call a blonde in an institution of higher learning? --a visitor. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message