From owner-freebsd-questions@FreeBSD.ORG Mon May 17 11:30:42 2004 Return-Path: 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 4334716A4CE for ; Mon, 17 May 2004 11:30:42 -0700 (PDT) Received: from hobbiton.shire.net (hobbiton.shire.net [206.71.64.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9408B43D2D for ; Mon, 17 May 2004 11:30:41 -0700 (PDT) (envelope-from chad@shire.net) Received: from [67.161.247.57] (helo=[192.168.99.66]) by hobbiton.shire.net with asmtp (TLSv1:RC4-SHA:128) (Exim 4.10) id 1BPmsq-0004eT-00; Mon, 17 May 2004 12:30:40 -0600 In-Reply-To: <200405171053.57758.fcash-ml@sd73.bc.ca> References: <200405171053.57758.fcash-ml@sd73.bc.ca> Mime-Version: 1.0 (Apple Message framework v613) Message-Id: <47E06514-A830-11D8-9460-003065A70D30@shire.net> From: "Chad Leigh -- Shire.Net LLC" Date: Mon, 17 May 2004 12:30:32 -0600 To: fcash-ml@sd73.bc.ca X-Mailer: Apple Mail (2.613) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on hobbiton.shire.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=no version=2.63 X-Spam-Level: cc: FreeBSD-questions Subject: Re: Manually starting RCng scripts disabled in rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2004 18:30:42 -0000 On May 17, 2004, at 11:53 AM, Freddie Cash wrote: > RCng scripts require an entry in /etc/rc.conf along the lines of > _enable="YES" otherwise the script will fail to do anything. > As an aside, you may want to use /etc/rc.conf.local instead. on a related note: One problem is that it appears that /usr/local/etc/rc.d is NOT a full-citizen in the rcNG system. You must have a .sh on the end, which is not true of things in /etc/rc.d . I do not know if this means that /usr/local/etc/rc.d scripts run inside the main process as a .sh script does from /etc/rc.d or if it runs as a sub-process. In /etc/rc.d, ones without .sh run as sub-processes of the main startup script, while ones ending with .sh run in the main process... Chad