From owner-freebsd-questions Wed Jun 14 7:29:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from be-well.ilk.org (lowellg.ne.mediaone.net [24.147.184.128]) by hub.freebsd.org (Postfix) with ESMTP id 199C837C1DA for ; Wed, 14 Jun 2000 07:29:50 -0700 (PDT) (envelope-from lowell@be-well.ilk.org) Received: (from lowell@localhost) by be-well.ilk.org (8.9.3/8.9.3) id KAA74880; Wed, 14 Jun 2000 10:29:44 -0400 (EDT) (envelope-from lowell) From: Lowell Gilbert To: freebsd-questions@freebsd.org Subject: Re: rc startup question References: <39478846.B31029F4@planetwe.com> Date: 14 Jun 2000 10:29:44 -0400 In-Reply-To: Drew Sanford's message of "Wed, 14 Jun 2000 08:27:34 -0500" Message-ID: <44snug9vzb.fsf@lowellg.ne.mediaone.net> Lines: 16 X-Mailer: Gnus v5.7/Emacs 20.6 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message