Where to put my own startup script (/etc/rc.local ?)
Craig Rodrigues
rodrigc at crodrigues.org
Tue May 25 18:54:45 PDT 2004
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
More information about the freebsd-current
mailing list