From owner-freebsd-questions Sat Jan 19 23:10:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailout.fastq.com (mailout.fastq.com [204.62.193.66]) by hub.freebsd.org (Postfix) with ESMTP id D2B0437B404 for ; Sat, 19 Jan 2002 23:10:43 -0800 (PST) Received: from broken (d126-osel.phx.fastq.com [216.190.249.158]) by mailout.fastq.com (8.11.3/8.11.3.FastQ-MailOut) with ESMTP id g0K7AgT33310 for ; Sun, 20 Jan 2002 00:10:42 -0700 (MST) (envelope-from dan@ript.org) From: "Dan Trainor" To: Subject: RE: question about rc.conf Date: Sun, 20 Jan 2002 00:23:44 -0700 Message-ID: <00a201c1a183$6551c550$0100a8c0@broken> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 In-Reply-To: <20020120070823.GD11166@helios.dub.net> Importance: Normal 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 My bad, I was reading it as an EXAMPLE, not a DEFAULT. All is well. -dt -----Original Message----- From: Jim Mock [mailto:mij@soupnazi.org] Sent: Sunday, January 20, 2002 12:08 AM To: Dan Trainor Cc: freebsd-questions@FreeBSD.ORG Subject: Re: question about rc.conf 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