Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 1999 21:34:01 -0700 (PDT)
From:      Dan Busarow <dan@dpcsys.com>
To:        Jaye Mathisen <mrcpu@internetcds.com>
Cc:        Adam Nealis <adamn@csl.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: routed/gated confusion
Message-ID:  <Pine.BSF.3.96.990412212216.15147B-100000@java.dpcsys.com>
In-Reply-To: <Pine.BSF.4.05.9904120756550.19480-100000@schizo.cdsnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 12 Apr 1999, Jaye Mathisen wrote:
> Only 1 comment:
> 
> On Thu, 8 Apr 1999, Dan Busarow wrote:
> 
> > On Thu, 8 Apr 1999, Adam Nealis wrote:
> > > I've read the on-line handbook, the FAQ, searched the mail
> > >  o If I use route add, what do I add? Where do I put these
> > > commands so /etc/rc runs them?
> > 
> > In /etc/rc.conf, oops, /etc/defaults/rc.conf
> > 
> > static_routes="IN"
> > route_IN="10.0.0.0 -netmask 255.255.0.0 192.168.0.4"
> 
> I believe this to be incorrect, /etc/rc.conf is the correct place.  If the
> above commands are put in /etc/defaults/rc.conf, then they run the risk of
> being deleted when /etc/defaults/rc.conf is modified in a new version of
> FreeBSD, and dumped over the copy of the old one, to provide a new set of
> system defaults.
> 
> Overrides to defaults go in /etc/rc.conf...

You could very well be right.  I just setup my first 3.1 system a
couple of days ago and haven't  fully explored the changes.  I just
remembered finding rc.conf in /etc/defaults, instead of /etc.  Your
comments make sense, and I think I'll follow your suggestion.  But
note that you do need to rm /etc/defaults/rc.conf to have /etc/rc.conf
read.  So it's only slightly different than the 2.x upgrade process.

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990412212216.15147B-100000>