starting a program at boot time

Jerry McAllister jerrymc at msu.edu
Tue Mar 11 19:15:28 UTC 2008


On Tue, Mar 11, 2008 at 02:21:25PM -0400, Bill Moran wrote:

> In response to Jerry McAllister <jerrymc at msu.edu>:
> 
> > On Wed, Mar 05, 2008 at 07:24:07PM +0100, Wojciech Puchar wrote:
> > 
> > > >how do i  start a program  at boot time?
> > > 
> > > simplest to add to rc.local
> > > 
> > > or as a user - add
> > > 
> > > @reboot command
> > > in crontab
> > 
> > Not really.   
> > 
> > The more proper way is to add a startup script in /usr/local/rc.d/
> 
> Just for the sanity of the OP: that directory is /usr/local/etc/rc.d

Oops.  Sorry, you are right.   I apparently dozed off while typing it.

        It is:    /usr/local/etc/rc.d  

////jerry

> 
> -- 
> Bill Moran
> http://www.potentialtech.com


More information about the freebsd-questions mailing list