Date: Fri, 29 Oct 1999 14:48:05 +0100 From: Adam Shaun Nealis <adamn@csl.com> To: big-sky@altavista.net Cc: Freebsd-Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: File Differences Message-ID: <3819A595.4E2D71CB@csl.com> References: <000601bf2210$0da80700$0201010a@cmr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3819A595.4E2D71CB>