Skip site navigation (1)Skip section navigation (2)
Date:      14 Jun 2000 10:29:44 -0400
From:      Lowell Gilbert <lowell@world.std.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: rc startup question
Message-ID:  <44snug9vzb.fsf@lowellg.ne.mediaone.net>
In-Reply-To: Drew Sanford's message of "Wed, 14 Jun 2000 08:27:34 -0500"
References:  <39478846.B31029F4@planetwe.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Drew Sanford <drew@planetwe.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44snug9vzb.fsf>