From owner-freebsd-questions Sat Jan 19 23: 8:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by hub.freebsd.org (Postfix) with ESMTP id B844E37B402 for ; Sat, 19 Jan 2002 23:08:23 -0800 (PST) Received: (qmail 10564 invoked from network); 20 Jan 2002 07:08:23 -0000 Received: from unknown (HELO helios.dub.net) ([216.27.176.75]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 Jan 2002 07:08:23 -0000 Received: by helios.dub.net (Postfix, from userid 1000) id 2EF9D312A; Sat, 19 Jan 2002 23:08:23 -0800 (PST) Date: Sat, 19 Jan 2002 23:08:23 -0800 From: Jim Mock To: Dan Trainor Cc: freebsd-questions@FreeBSD.ORG Subject: Re: question about rc.conf Message-ID: <20020120070823.GD11166@helios.dub.net> Reply-To: mij@soupnazi.org References: <00a101c1a180$3b65aed0$0100a8c0@broken> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00a101c1a180$3b65aed0$0100a8c0@broken> User-Agent: Mutt/1.3.26i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 19 Jan 2002 at 23:59:48 -0700, Dan Trainor wrote: > Well, upon further review of the handbook, I came across this - > > Note: Do not place any commands in /etc/rc.conf. To start daemons, or > run any commands at boot time, place a script in /usr/local/etc/rc.d > instead. > > This still leaves me wondering where I would define options found in > the default rc.conf. Should I just hack away at rc.conf, or is there > a program which must invoke such changes? I'm not quite sure what you're talking about exactly. You put foo_bar="YES" (or no) in /etc/rc.conf. Everything in /etc/rc.conf is an override from what's in /etc/defaults/rc.conf. If you're talking about starting up other things like apache and whatnot, a script in /usr/local/etc/rc.d is the way to do it (and the apache port will do that for you). What specifically are you talking about? Give me an example of what you're trying to accomplish. > Also, when cvsup'ing and upgrading a FreeBSD-4.3 box to > FreeBSD-4.5-RC2 box, the ports installation of ssh2 breaks when it > tries to replace the original system-installed (FreeBSD-4.3) version > of sshd. Upon the next reboot, the old sshd server starts, not the > new one. Perhaps some developers are looking at this list, as well. OpenSSH (which is in the base system) can do SSH2. Why not just use that? - jim -- jim mock http://soupnazi.org/ | jim@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message