From owner-freebsd-questions Wed Jun 14 8:19:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wormhole.bluestar.net (wormhole.bluestar.net [208.53.1.61]) by hub.freebsd.org (Postfix) with ESMTP id 02FD537C22F for ; Wed, 14 Jun 2000 08:19:08 -0700 (PDT) (envelope-from drew@planetwe.com) Received: from planetwe.com ([64.182.69.146]) by wormhole.bluestar.net (8.10.1/8.10.1) with ESMTP id e5EFJ1R03554; Wed, 14 Jun 2000 10:19:01 -0500 (CDT) Message-ID: <3947A300.74D2E9C0@planetwe.com> Date: Wed, 14 Jun 2000 10:21:36 -0500 From: Drew Sanford X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Lowell Gilbert Cc: freebsd-questions@FreeBSD.ORG Subject: Re: rc startup question References: <39478846.B31029F4@planetwe.com> <44snug9vzb.fsf@lowellg.ne.mediaone.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Lowell Gilbert wrote: > > Drew Sanford writes: > > > With snmpd for example, would I add something like > > > > /usr/local/sbin/snmpd > > > > to rc.conf, or am I way off track? This probly seems like a really > > The question has already been answered, but as a slight digression, > you should never put *anything* in rc.conf except for variable > definitions. This point is made in the man page for rc.conf, although > apparently not obviously enough. > > rc.conf is included a number of times, by a number of different > startup scripts, and so any actual commands you want to run will be > run many times, not just once. And not just at boot time, either. Interestingly enough, it was noting these facts in the man pages and everything else I could find on the subject that made me post the question rather than simply trying something that instinct told me wouldn't work like I wanted. Apparently I simply didn't dig quite far enough. I was on the right track ( I knew I needed an rc.something, just not what or where) but the existance of /usr/local/etc/rc.d was completely unknown to me. Not enough digging. Now everything makes perfect sense (at least til the next time I get confused). Thanks again to those who responded. -- Drew Sanford Systems Administrator Planetwe.com Email: drew@planetwe.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message