From owner-freebsd-current@FreeBSD.ORG Tue May 25 05:51:03 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 8567216A4CE for ; Tue, 25 May 2004 05:51:03 -0700 (PDT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2003D43D2D for ; Tue, 25 May 2004 05:51:03 -0700 (PDT) (envelope-from rodrigc@crodrigues.org) Received: from dibbler.crodrigues.org (h00609772adf0.ne.client2.attbi.com[66.30.114.143]) by comcast.net (sccrmhc12) with ESMTP id <20040525125032012007jcure>; Tue, 25 May 2004 12:50:32 +0000 Received: from dibbler.crodrigues.org (localhost.crodrigues.org [127.0.0.1]) i4PCogvD044096; Tue, 25 May 2004 08:50:43 -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 i4PCogWE044095; Tue, 25 May 2004 08:50:42 -0400 (EDT) (envelope-from rodrigc) Date: Tue, 25 May 2004 08:50:42 -0400 From: Craig Rodrigues To: Rob Message-ID: <20040525125042.GA44047@crodrigues.org> References: <40B2B7D4.5040106@users.sourceforge.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40B2B7D4.5040106@users.sourceforge.net> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org 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: Tue, 25 May 2004 12:51:03 -0000 On Tue, May 25, 2004 at 12:04:52PM +0900, Rob wrote: > > Hi, > > This week I have migrated a PC from Stable to Current. > > I used to have my own scripts at startup in /etc/rc.local. > > I'm puzzled how I am supposed to do this in Current. > > Can someone tell me? (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 -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org