From owner-freebsd-questions Fri Mar 31 12:30:41 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 2B5E437B8F0 for ; Fri, 31 Mar 2000 12:30:36 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12b5By-000MAY-00; Fri, 31 Mar 2000 18:26:42 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12b5By-0007cB-00; Fri, 31 Mar 2000 18:26:42 +0100 Date: Fri, 31 Mar 2000 18:26:42 +0100 From: Ben Smithurst To: "[ -dp- ]" Cc: questions@freebsd.org Subject: Re: Where do those startup scripts go? Message-ID: <20000331182642.E24981@strontium.scientia.demon.co.uk> References: <38E4D250.4DFC76D4@sympatico.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38E4D250.4DFC76D4@sympatico.ca> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [ -dp- ] wrote: > It has been said to _never_ place startup scripts in rc.conf, rc.local, > etc, due to the fact > that they are regularly parsed by other programs. Sounds fine, however > isn't /usr/local/etc/rc.d referenced to > via rc.conf? And this being the case, we would assume that it will be > parsed every time rc.conf is called? If rc.conf is called again during > runtime, I am sure that it is called to with a variable so that the > entire file is not parsed ? Please correct me if I am wrong, this came > to me in a dream. I myslef have always referenced them from rc.conf > since day one, and my machine has yet to blow up. /usr/local/etc/rc.d is referenced in rc.conf (something like local_startup="/usr/local/etc/rc.d") but none of the scripts therein are executed by rc.conf. It's only /etc/rc which has that duty at boot time, after getting the location of the startup directories from rc.conf. -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message