Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 2004 21:54:15 -0400
From:      Craig Rodrigues <rodrigc@crodrigues.org>
To:        Robert Downes <nullentropy@lineone.net>
Cc:        Rob <stopspam@users.sourceforge.net>
Subject:   Re: Where to put my own startup script (/etc/rc.local ?)
Message-ID:  <20040526015415.GA46743@crodrigues.org>
In-Reply-To: <40B36C1E.7050803@lineone.net>
References:  <40B2B7D4.5040106@users.sourceforge.net> <20040525125042.GA44047@crodrigues.org> <40B36C1E.7050803@lineone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@crodrigues.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040526015415.GA46743>