From owner-freebsd-questions@FreeBSD.ORG Tue Mar 11 18:21: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 04C7F106571F for ; Tue, 11 Mar 2008 18:21:27 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id C20F68FC24 for ; Tue, 11 Mar 2008 18:21:27 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.ws.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 99482EBC0C; Tue, 11 Mar 2008 14:21:26 -0400 (EDT) Date: Tue, 11 Mar 2008 14:21:25 -0400 From: Bill Moran To: Jerry McAllister Message-Id: <20080311142125.1dc6b386.wmoran@potentialtech.com> In-Reply-To: <20080311181017.GJ665@gizmo.acns.msu.edu> References: <47CEDD64.4090100@ourweb.net> <20080305192330.S8517@wojtek.tensor.gdynia.pl> <20080311181017.GJ665@gizmo.acns.msu.edu> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.8; i386-portbld-freebsd6.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: 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 18:21:28 -0000 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 -- Bill Moran http://www.potentialtech.com