From owner-freebsd-questions Thu Feb 19 15:41:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA18699 for freebsd-questions-outgoing; Thu, 19 Feb 1998 15:41:30 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA18544 for ; Thu, 19 Feb 1998 15:40:39 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id PAA00770; Thu, 19 Feb 1998 15:40:33 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Thu, 19 Feb 1998 15:40:33 -0800 (PST) From: Doug White Reply-To: Doug White To: Tim Tsai cc: freebsd-questions@FreeBSD.ORG Subject: Re: /etc/rc.network problems/questions In-Reply-To: <19980219043436.31978@futuresouth.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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