From owner-freebsd-questions@FreeBSD.ORG Wed Feb 6 17:29:31 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 8B5A516A41A for ; Wed, 6 Feb 2008 17:29:31 +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 3080413C457 for ; Wed, 6 Feb 2008 17:29:30 +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 m16HQ81w019670; Wed, 6 Feb 2008 12:26:08 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m16HQ8HW019669; Wed, 6 Feb 2008 12:26:08 -0500 (EST) (envelope-from jerrymc) Date: Wed, 6 Feb 2008 12:26:08 -0500 From: Jerry McAllister To: Wojciech Puchar Message-ID: <20080206172608.GC19532@gizmo.acns.msu.edu> References: <1563a4fd0802060609j59451879h3920be790d7667c0@mail.gmail.com> <20080206152833.U3736@wojtek.tensor.gdynia.pl> <20080206154317.GC18883@gizmo.acns.msu.edu> <20080206174632.B4330@wojtek.tensor.gdynia.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080206174632.B4330@wojtek.tensor.gdynia.pl> User-Agent: Mutt/1.4.2.2i Cc: Jerry McAllister , navneet Upadhyay , freebsd-questions@freebsd.org Subject: Re: script to be executed on system startup. 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: Wed, 06 Feb 2008 17:29:31 -0000 On Wed, Feb 06, 2008 at 05:46:40PM +0100, Wojciech Puchar wrote: > > > >No, don't add anything to rc.local. > > no because of? > Quote from man rc Typically, the /usr/local/etc/rc.d/ mechanism is used instead of rc.local these days but if you want to use rc.local, it is still supported. In this case, it should source /etc/rc.conf and contain additional custom startup code for your system. The best way to handle rc.local, however, is to separate it out into rc.d/ style scripts and place them under /usr/local/etc/rc.d/. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"