FreeBSD 6.0 - Network operations result in <IP> <MASK>: not found?

Mark Andrews Mark_Andrews at isc.org
Thu Jan 26 16:27:54 PST 2006


> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org


More information about the freebsd-stable mailing list