From owner-freebsd-questions Fri Mar 31 22: 1: 3 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pop.idx.com.au (pop.idx.com.au [203.14.30.10]) by hub.freebsd.org (Postfix) with ESMTP id C187837BB29 for ; Fri, 31 Mar 2000 22:00:58 -0800 (PST) (envelope-from dannyh@idx.com.au) Received: from freebsd.freebsd.org (idxwc04-137.idx.com.au [203.166.1.137]) by pop.idx.com.au (8.9.3/8.9.3) with SMTP id QAA20765; Sat, 1 Apr 2000 16:00:47 +1000 From: Danny To: "[ -dp- ]" , questions@FreeBSD.ORG Subject: Re: Where do those startup scripts go? Date: Sun, 2 Apr 2000 16:03:28 +1000 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain References: <38E4D250.4DFC76D4@sympatico.ca> MIME-Version: 1.0 Message-Id: <00040216050502.00513@freebsd.freebsd.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, You don't have to touch the /etc/rc.conf file to make up a start up script on FreeBSD you need to cd /usr/local/etc/rc.d/ pico somesystemprogram.sh Type in #!/bin/sh /someprogram/somesystemprogram Then save the file Then chmod 755 somesystemprogram.sh On Sat, 01 Apr 2000, [ -dp- ] wrote: > good morning: > > 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. > > -- > [ - deadpoint - ] > ============================================================================ > Don't underestimate the power of stupid people in large groups. > > Email: dp@penix.org > BIO: http://bling.dyn.dhs.org > GPG Key fingerprint: 2D7C A7E2 DB1F EA5F 8C6F  D5EC 3D39 F274 4AA3 > E8B9 > Public Key available here: http://bling.dyn.dhs.org/dp.asc > ============================================================================ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message