Re: Where to put my own startup script (/etc/rc.local ?)

From: Craig Rodrigues <rodrigc_at_crodrigues.org>
Date: Tue, 25 May 2004 21:54:15 -0400
On Tue, May 25, 2004 at 04:54:06PM +0100, Robert Downes wrote:
> Craig Rodrigues wrote:
> 
> >(1) Create the following directory:
> >    /usr/local/etc/rc.d/
> >
> >(2)  Put the scripts in that directory, make sure that the names
> >    of the scripts end with .sh
> >
> > 
> >
> 
> Do the scripts also have to receive 'start' or 'stop' as a parameter?


No they don't.
A few other things:

- Read the rc.conf man page, and look at the local_startup variable
- Look at /etc/defaults/rc.conf for the local_startup variable

-- 
Craig Rodrigues        
http://crodrigues.org
rodrigc_at_crodrigues.org
Received on Tue May 25 2004 - 16:54:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:55 UTC