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

Re: where to move scripts from /etc/rc.boot ?

> On Mon, Aug 02, 1999 at 11:12:45PM +0200, Josip Rodin wrote:
> > The hwtools package contains a simple /etc/rc.boot/hwtools script,
> > and the fortcoming policy will mandate its move to another directory.
> > 
> > I don't know if I understand all of it correctly - the script should move to
> > /etc/init.d/hwtools ? Should it be symlinked from /etc/rc?.d/ directories,
> > or just from /etc/rcS.d/ ? Is it possible to implement it with debhelper's
> > dh_installinit ? Should it end with .sh ? Should it parse its $1 arguments
> > like others do, for start|stop|restart|whatever?
> Only rcS.d, not rcN.d. I don't know about debhelper. You can do it
> with update-rc.d directly though as in
>     update-rc.d cnewsclean start 70 S . >/dev/null

Please *do* use update-rc.d and don't directly install it into
/etc/rcS.d; the latter will fail if the file-rc package is being used.



  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: