*BSD News Article 64179


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!cs.utexas.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!uchinews!news
From: csdayton+usenet@midway.uchicago.edu (Soren Dayton)
Subject: Re: /etc/sysconfig run from both rc and netstart
In-Reply-To: gmann@haven.ios.com's message of 13 Mar 1996 20:56:17 GMT
X-Nntp-Posting-Host: woodlawn.uchicago.edu
Message-ID: <xcdenqwoece.fsf@woodlawn.uchicago.edu>
To: gmann@haven.ios.com (Glen Mann)
Lines: 20
Sender: csdayton@woodlawn.uchicago.edu
Organization: uchi.comp.unix viper cabal
X-Newsreader: Gnus v5.1
References: <4i7cph$gsu@news.ios.com>
Date: Wed, 13 Mar 1996 21:47:14 GMT

Our friend, gmann@haven.ios.com (Glen Mann), wrote:

> Hello all.
> 
> The file /etc/sysconfig is sourced in both /etc/rc and /etc/netstart.  
> /etc/netstart is called by /etc/rc.  Is there a reason to run sysconfig 
> twice?

Sure.  You want the variables to be defined in both.  note that it is an


'sh /etc/netstart'

rather than a 

'. /etc/netstart'

so everything is not defined in /netstart, so you havwe do define them again..

soren