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

Re: Is /etc/rc.boot/ obsolete or not?



> >>>>> "Miquel" == Miquel van Smoorenburg <miquels@cistron.nl> writes:
> 
>     Miquel> It sounds more like you want a rc.local style directory,
>     Miquel> not rc.boot.
> 
>     Miquel> But what is so difficult about update-rc.d? It's only one
>     Miquel> line in the postinst .. (and one in prerm)
> 
> It's not difficult at all. But I'm just saying rc.boot doesn't need to
> go away, as sometimes there's really no need for update-rc.d at
> all. Why make things more complicated than they have to be?

Never got around to this one, sorry.

It is important to use update-rc.d and not directly place a file in
/etc/rcS.d, since a package like file-rc replaces update-rc.d with a
different program and does not look in /etc/rcS.d (if I recall
correctly).  Placing a program there could hose someone's system.  The
correct way to do it is to place the program in /etc/init.d and use
update-rc.d.

   Julian

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

  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg


Reply to: