From owner-freebsd-questions Fri Oct 29 6:49:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost.criterion.canon.co.uk (mailhost.criterion.canon.co.uk [194.223.249.254]) by hub.freebsd.org (Postfix) with ESMTP id DCB03155CF for ; Fri, 29 Oct 1999 06:49:29 -0700 (PDT) (envelope-from adamn@csl.com) Received: from csl.com (beast.criterion.canon.co.uk [194.223.249.3]) by mailhost.criterion.canon.co.uk (8.8.8/8.7.3) with ESMTP id NAA05000; Fri, 29 Oct 1999 13:37:26 GMT Message-ID: <3819A595.4E2D71CB@csl.com> Date: Fri, 29 Oct 1999 14:48:05 +0100 From: Adam Shaun Nealis Organization: Criterion Software, Ltd. X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 2.2.8-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: big-sky@altavista.net Cc: Freebsd-Questions Subject: Re: File Differences References: <000601bf2210$0da80700$0201010a@cmr.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mark Einreinhof wrote: > > Could someone enlighten me as to the difference between rc.d, rc.conf, and > rc.local. I read posts and see so many people say to place the same command > but in different files that I am just confused. Under FreeBSD, /usr/local/etc/rc.d is a directory containing scripts that are run at boot time. Typically these are installed by some of the packeages from the ports collection. /etc/rc.conf is a placeholder for certain variables that help the system decide what services to run, what IP addresses bind to what NIC, what its hostname is, etc. It's a bit like a .h file. /etc/rc.local is sourced at the end of /etc/rc, and contains stuff local to your particular set up. It's for things you want your system to do that aren't covered by /etc/rc. Also, /etc/rc.local is preserved between system updates. Adam. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message