From owner-freebsd-current@FreeBSD.ORG Tue May 25 18:54:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FA8416A4CE for ; Tue, 25 May 2004 18:54:45 -0700 (PDT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07DD843D1F for ; Tue, 25 May 2004 18:54:45 -0700 (PDT) (envelope-from rodrigc@crodrigues.org) Received: from dibbler.crodrigues.org (h00609772adf0.ne.client2.attbi.com[66.30.114.143]) by comcast.net (rwcrmhc11) with ESMTP id <2004052601541101300fgppie>; Wed, 26 May 2004 01:54:11 +0000 Received: from dibbler.crodrigues.org (localhost.crodrigues.org [127.0.0.1]) i4Q1sGUV046753; Tue, 25 May 2004 21:54:17 -0400 (EDT) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.crodrigues.org (8.12.11/8.12.11/Submit) id i4Q1sGZK046752; Tue, 25 May 2004 21:54:16 -0400 (EDT) (envelope-from rodrigc) Date: Tue, 25 May 2004 21:54:15 -0400 From: Craig Rodrigues To: Robert Downes Message-ID: <20040526015415.GA46743@crodrigues.org> References: <40B2B7D4.5040106@users.sourceforge.net> <20040525125042.GA44047@crodrigues.org> <40B36C1E.7050803@lineone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40B36C1E.7050803@lineone.net> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org cc: Rob Subject: Re: Where to put my own startup script (/etc/rc.local ?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 01:54:45 -0000 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