From owner-freebsd-questions Mon Apr 12 21:36:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (Postfix) with ESMTP id E155F150E9 for ; Mon, 12 Apr 1999 21:36:20 -0700 (PDT) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.9.1a/8.9.1) with SMTP id VAA20584; Mon, 12 Apr 1999 21:34:01 -0700 (PDT) Date: Mon, 12 Apr 1999 21:34:01 -0700 (PDT) From: Dan Busarow To: Jaye Mathisen Cc: Adam Nealis , freebsd-questions@FreeBSD.ORG Subject: Re: routed/gated confusion In-Reply-To: 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 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