Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2002 17:04:56 -0800
From:      "Crist J . Clark" <cjc@FreeBSD.ORG>
To:        Ray Kohler <rkohler1@cox.rr.com>
Cc:        Dan Trainor <dan@ript.org>, freebsd-questions@FreeBSD.ORG
Subject:   Re: question about rc.conf
Message-ID:  <20020120170456.C66815@blossom.cjclark.org>
In-Reply-To: <090b83912051412FE7@mail7.mgfairfax.rr.com>; from rkohler1@cox.rr.com on Sun, Jan 20, 2002 at 12:15:48AM -0500
References:  <009c01c1a16d$1c1a7e10$0100a8c0@broken> <090b83912051412FE7@mail7.mgfairfax.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 20, 2002 at 12:15:48AM -0500, Ray Kohler wrote:
> On Saturday 19 January 2002 11:44 pm, Dan Trainor wrote:

[snip]

> > or do I just
> > add those little startup scripts directly to /etc/rc.conf?
> 
> Never heard of doing that. Sounds like a big pain to keep up with.

Do _NOT_ put commands in /etc/rc.conf. Three good reasons:

  (1) There is no guarantee when in the rc(8) startup /etc/rc.conf is
      first called.

  (2) There is no guarantee that /etc/rc.conf will only be run once
      during startup.

  (3) There is no guarantee that /etc/rc.conf will not run by the
      system at times other than startup.
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

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?20020120170456.C66815>