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

Re: rc.local equivalent in Woody?



On Sat, Mar 30, 2002 at 10:01:12PM -0800, Karsten M. Self wrote:
> on Tue, Mar 26, 2002, Sean 'Shaleh' Perry (shalehperry@attbi.com) wrote:
> > 
> > On 26-Mar-2002 Randolph S. Kahle wrote:
> > > In my Potato installation, I place a call to hdparm in rc.local.
> > > 
> > > In my new Woody installation, I cannot find rc.local.
> > > 
> > > What is the correct place / file to use for boot-up configuration /
> > > control commands?
> > > 
> > 
> > make a /etc/init.d/local script (call it something that is likely to
> > not be used by a package).  Use update-rc.d to add it to the run level
> > tree.
> 
> This question comes up enough that a policy ought IMVAO be set for it.
> 
> Viz:  any rc script named local-foo is considered local and sacrosanct
> by the system, where "-foo" could have any arbitrary value, including
> null (for the single instance of a local script).
> 
> But this way I could, say, run four local webservers as
> local-apache-mydom0, local-apache-mydom1, local-apache-mydom2, and
> local-apache-mydom3, without worrying about how they're treated by
> Debian.

Or perhaps local.foobar ?

"." instead of "-", as this could use the same notation as the Debian
Menu policy..

> 
> I'll bounce this to the devel (or other) list if someone thinks this is
> a worthwhile suggestion.

Definitely.


Just my 1 pence...
-- 
Karl E. Jørgensen
karl@jorgensen.com
www.karl.jorgensen.com
... An rfc2324 advocate
http://www.rfc.net/rfc2324.html

Attachment: pgpFxgNOdVcpc.pgp
Description: PGP signature


Reply to: