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

Re: rc.local equivalent in Woody?



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.

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

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   Keep software free.         Oppose the CBDTPA.         Kill S.2048 dead.
     http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html

Attachment: pgpkELtSQupDM.pgp
Description: PGP signature


Reply to: