From owner-freebsd-questions Sun Dec 17 21:43:13 2000 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 17 21:43:11 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 1A40637B402 for ; Sun, 17 Dec 2000 21:43:11 -0800 (PST) Received: from rfx-64-6-211-149.users.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sun, 17 Dec 2000 21:41:32 -0800 Received: (from cjc@localhost) by rfx-64-6-211-149.users.reflexcom.com (8.11.0/8.11.0) id eBI5gw092283; Sun, 17 Dec 2000 21:42:58 -0800 (PST) (envelope-from cjc) Date: Sun, 17 Dec 2000 21:42:57 -0800 From: "Crist J. Clark" To: Randy Katz Cc: Matthew Emmerton , Otter , Drew Tomlinson , "FreeBSD Questions (E-mail)" Subject: Re: How to Get Program to Start Automatically Upon Boot Message-ID: <20001217214257.O96105@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <002901c06895$d92859d0$1200a8c0@gsicomp.on.ca> <5.0.2.1.0.20001217203142.0430cd68@mail.ccsales.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <5.0.2.1.0.20001217203142.0430cd68@mail.ccsales.com>; from randyk@ccsales.com on Sun, Dec 17, 2000 at 08:32:08PM -0800 Sender: cjc@rfx-64-6-211-149.users.reflexcom.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Dec 17, 2000 at 08:32:08PM -0800, Randy Katz wrote: > Please correct me if I'm wrong but /etc/rc.local seems to be alive and > well, at least in R4.1.1... Before we get to far into another rc.d versus rc.local debate, let's all RTFM, man rc, DESCRIPTION Rc is the command script which controls the automatic reboot (calling the other scripts) and rc.local is the script holding commands which are per- tinent only to a specific site. Typically, the /usr/local/etc/rc.d mech- anism is used instead of rc.local these days but if you do want to use rc.local, /etc/rc still supports it. In this case, rc.local should source /etc/rc.conf and contain additional custom startup code for your system. But er..., em..., *cough* ignore that stuff in there about rc.local.conf. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message