Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2003 19:17:34 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Chris Doherty <chris-freebsd@randomcamel.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Modifying /etc/rc?
Message-ID:  <20030130171734.GA1884@gothmog.gr>
In-Reply-To: <20030130164007.GA29699@zot.electricrain.com>
References:  <5.2.0.9.0.20030130143905.00a0aaa0@127.0.0.1> <20030130164007.GA29699@zot.electricrain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-01-30 08:40, Chris Doherty <chris-freebsd@randomcamel.net> wrote:
> unless I'm wrong, /etc/rc.local exists specifically so you don't
> have to modify /etc/rc. /etc/rc refers to rc.local as "traditional
> (but rather obsolete)", but nowhere in my FreeBSD travels over the
> past four years have I found any suggestion of what else you're
> supposed to use.

The /etc/rc.local script was where local daemon startup was put.  With
most of the ports installed stuff, there is a foo.sh script that
accepts `start' and `stop' arguments that one can put in the
/usr/local/etc/rc.d directory.  This tends to be the preferred way of
doing things for pre RCng versions.  The 5.X version of FreeBSD uses
the new rc scripts (RCng) that live in /etc/rc.d and now there is the
new /etc/rc.d/local scripts that fits nicely with the rest of the
stuff under /etc/rc.d.


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?20030130171734.GA1884>