Re: where to move scripts from /etc/rc.boot ?
On Tue, Aug 03, 1999 at 02:28:24AM +0100, Julian Gilbey 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.
Okay, thanks guys (and Espy on IRC :), done.
--
enJoy -*/\*- don't even try to pronounce my first name
Reply to: