On Mon, Apr 24, 2000 at 11:47:17AM +0000, mathieu wrote:
> i understand the aim but i don't know how to make a start & stop part, do you 
> know
> where i can find an example of
> something explaining how ?  i am not really used to such script..
> thank you
> Mat

/etc/init.d/skeleton is an example script, you can pretty much just
plug your commands into the start, stop, and restart sections.  

> >
> >
> > Move your script to /etc/init.d, complete it with a start and stop part.
> > Then hook it into the system with "update-rc.d", you'll find the syntax
> > described in the manpage or by reading the examples from
> > grep update-rc.d /var/lib/dpkg/info/*.postinst
> >
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpMcSEut8n6n.pgp
Description: PGP signature

Reply via email to