From owner-freebsd-questions@FreeBSD.ORG Tue Mar 11 19:15:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23ADC1065673 for ; Tue, 11 Mar 2008 19:15:28 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id D178A8FC29 for ; Tue, 11 Mar 2008 19:15:27 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m2BJD4HY001685; Tue, 11 Mar 2008 15:13:04 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m2BJD4dY001684; Tue, 11 Mar 2008 15:13:04 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 11 Mar 2008 15:13:04 -0400 From: Jerry McAllister To: Bill Moran Message-ID: <20080311191304.GD1531@gizmo.acns.msu.edu> References: <47CEDD64.4090100@ourweb.net> <20080305192330.S8517@wojtek.tensor.gdynia.pl> <20080311181017.GJ665@gizmo.acns.msu.edu> <20080311142125.1dc6b386.wmoran@potentialtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080311142125.1dc6b386.wmoran@potentialtech.com> User-Agent: Mutt/1.4.2.2i Cc: Jerry McAllister , Wojciech Puchar , FreeBSD Questions , Bill Banks Subject: Re: starting a program at boot time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2008 19:15:28 -0000 On Tue, Mar 11, 2008 at 02:21:25PM -0400, Bill Moran wrote: > In response to Jerry McAllister : > > > 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