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

Re: updating of /etc/rc?.d



On Fri, Apr 27, 2001 at 02:50:24AM -0700, Mike Markley wrote:
> Admittedly, it's "sort of" buried; I don't see why we couldn't modify
> update-rc.d to use one of the unassigned but allowed runlevels to keep track
> of this junk. I have no problem with removing all but the K symlinks in
> {0,6}.d to disable services, but I've been using Debian since before slink
> froze, so my knowledge of how to do it certainly does not represent what the
> relative newbie to Debian may know. Of course, using runlevels 7-9 do

How about /etc/rcD.d/ for disabling services?  I also developed with
David Damerell (?) an alternative idea, which went along the lines of:

update-rc.d --disable service

would stop the service and then rename /etc/rc?.d/[SK]* as
/etc/rc?.d/D[SK]*.  Then

update-rc.d --enable service

would rename the links back again and restart the service if we are in
an appropriate runlevel.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

         Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
       Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/



Reply to: