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

Re: Inserting Init script



On Tue, Jun 10, 2003 at 04:36:46AM +0200, Marino Fernandez wrote:
> On Tuesday 10 June 2003 06:37 am, Kevin McKinley wrote:
> > On Mon, 9 Jun 2003 22:45:30 +0200
> >
> > Marino Fernandez <mjferna@yahoo.com> wrote:
> > > Once I placed a bash script in /etc/init.d, how do I create a link so it
> > > is executed during halt (runlevel 0) and reboot (runlevel 6). I tried
> > > this:
> > >
> > > update-rc.d <myscriptname> start 99 runlvl 0
> > >
> > > But I get this error:
> > >
> > > expected runlevel [0-9S] (did you forget "." ?)
> >
> > man update-rc.d
> 
> I tried that, but apparently I do not have the man for update-rc.d... how do 
> you install it (I have a Knoppix-->debian, maybe some of the man files got 
> excluded from the CD)?.


It's part of package "sysv-rc" under sid.



Reply to: