Date: Fri, 27 Jan 2006 11:27:42 +1100 From: Mark Andrews <Mark_Andrews@isc.org> To: "Eli K. Breen" <bsd@unixforge.net> Cc: David Kirchner <dpk@dpk.net>, freebsd-stable@freebsd.org Subject: Re: FreeBSD 6.0 - Network operations result in <IP> <MASK>: not found? Message-ID: <200601270027.k0R0Rg4j078232@drugs.dv.isc.org> In-Reply-To: Your message of "Thu, 26 Jan 2006 15:57:57 -0800." <43D96205.8020304@unixforge.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Is that behaviour actually documented anywhere? > > -E- Well /etc/defaults/rc.conf starts with #!/bin/sh that should be a big clue that it is a shell script. As is the instructions from "man rc.conf" not to put commands there. The purpose of rc.conf is not to run commands or perform system startup actions directly. Instead, it is included by the various generic startup scripts in /etc which conditionalize their internal actions according to the settings found there. Mark > > Mark Andrews wrote: > >>in rc.conf: > >> > >>ifconfig_fxp0= "inet <ip1> netmask 255.255.255.0" > > > > > > Which says execute the '"inet <ip1> netmask 255.255.255.0"' command > > with ifconfig_fxp0 envirioment variable set to the empty string. > > > > ifconfig_fxp0="inet <ip1> netmask 255.255.255.0" > > > > is the correct syntax for setting ifconfig_fxp0 to > > "inet <ip1> netmask 255.255.255.0" > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601270027.k0R0Rg4j078232>