Date: Sun, 10 Oct 2004 10:19:47 +0200 From: John Hay <jhay@icomtek.csir.co.za> To: Ryan Sommers <ryans@gamersimpact.com> Cc: cvs-all@FreeBSD.org Subject: Re: What we keep under /etc Message-ID: <20041010081947.GA61957@zibbi.icomtek.csir.co.za> In-Reply-To: <41683D43.4020403@gamersimpact.com> References: <200410071355.i97DtSJq024575@repoman.freebsd.org> <20041009011553.01708de1@dev.lan.Awfulhak.org> <20041009083519.GA84548@dragon.nuxi.com> <Pine.BSF.4.53.0410090841580.2113@e0-0.zab2.int.zabbadoz.net> <xzpr7o8ng1p.fsf@dwp.des.no> <20041009183217.GJ84228@lucky.net> <41683D43.4020403@gamersimpact.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 09, 2004 at 02:34:27PM -0500, Ryan Sommers wrote: > Valentin Nechayev wrote: > > >Are you serious? Well, let's make local modifications in > > > >/usr/src/etc/master.passwd, or what's the *real* difference between its > >and /etc/rc.d/*? > > > > > Umm... Read the discussion again. The topic isn't /ALL/ of /etc just > those directories that are considered part of the OS like /etc/rc.d and > /etc/defaults. The difference is rc.d contains only the startup scripts > for the operating system. All others /should/ be in /usr/local/etc/rc.d. While /usr/local/etc/rc.d works ok for a lot of things, it doesn't work well for everything that one might want to add because it is only run very late in the boot order. To be able to have something run somewhere in the beginning, say before the NETWORKING phase, you have to add it to /etc/rc.d, except if we add something like /etc/local.rc.d and also add it to /etc/rc so that rcorder use both simultaneously, something like 'rcorder ... /etc/rc.d/* /etc/local.rc.d/*'. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041010081947.GA61957>