From owner-freebsd-questions Thu Jan 30 9:18:26 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20D7D37B401 for ; Thu, 30 Jan 2003 09:18:25 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66E0C43F43 for ; Thu, 30 Jan 2003 09:18:21 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b172.otenet.gr [212.205.244.180]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id h0UHIBVq029934; Thu, 30 Jan 2003 19:18:18 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.6/8.12.6) with ESMTP id h0UHI8As001971; Thu, 30 Jan 2003 19:18:08 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.6/8.12.6/Submit) id h0UHHZYo001933; Thu, 30 Jan 2003 19:17:35 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 30 Jan 2003 19:17:34 +0200 From: Giorgos Keramidas To: Chris Doherty Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Modifying /etc/rc? Message-ID: <20030130171734.GA1884@gothmog.gr> References: <5.2.0.9.0.20030130143905.00a0aaa0@127.0.0.1> <20030130164007.GA29699@zot.electricrain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030130164007.GA29699@zot.electricrain.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2003-01-30 08:40, Chris Doherty wrote: > unless I'm wrong, /etc/rc.local exists specifically so you don't > have to modify /etc/rc. /etc/rc refers to rc.local as "traditional > (but rather obsolete)", but nowhere in my FreeBSD travels over the > past four years have I found any suggestion of what else you're > supposed to use. The /etc/rc.local script was where local daemon startup was put. With most of the ports installed stuff, there is a foo.sh script that accepts `start' and `stop' arguments that one can put in the /usr/local/etc/rc.d directory. This tends to be the preferred way of doing things for pre RCng versions. The 5.X version of FreeBSD uses the new rc scripts (RCng) that live in /etc/rc.d and now there is the new /etc/rc.d/local scripts that fits nicely with the rest of the stuff under /etc/rc.d. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message