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

Re: Inserting Init script



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

has examples that would answer this question for you.

Kevin



Reply to: