[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PROPOSAL] Directories for local initialization scripts



On Sat, Aug 14, 1999 at 06:20:04PM -0300, Julio wrote:
> I propose the creation of some directories to hold the local initialization 
> scripts and separate them from the initialization scripts installed by 
> packages. One possible approach would be to use /usr/local/etc/init.d or 
> /etc/rc.local to contain scripts to be executed after all the scripts in 
> /etc/rc?.d and /usr/local/etc/rcS.d or /etc/rcS.local to contain scripts to 
> be executed just after the scripts in /etc/rcS.d (to allow hardware 
> configuration, for example).

/usr/local seems an odd place to put the scripts --- all the other startup
scripts are in /etc. In addition a single /usr (and presumably /usr/local)
partition may be mounted on many machines of the same architecture even
though they do completely different things, and thus startup different
services.

Perhaps having an init.d.local or similar, with the exact same use as the
existing init.d directory (ie, to store startup scripts, which are then
symlinked to from /etc/rcS.d or /etc/rc1.d, or wherever), but reserved for
the local sysadmin. But it should definitely be under /etc, not elsewhere.

Cheers,
aj

-- 
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. PGP encrypted mail preferred.

 ``The thing is: trying to be too generic is EVIL. It's stupid, it 
        results in slower code, and it results in more bugs.''
                                        -- Linus Torvalds

Attachment: pgp8sJwh9QPAz.pgp
Description: PGP signature


Reply to: