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

Re: where is rc.local ?



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 debian-user-request@lists.debian.org < /dev/null
> 

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

Attachment: pgpat60Atzqy0.pgp
Description: PGP signature


Reply to: