From owner-freebsd-rc@FreeBSD.ORG Tue Oct 9 07:47:54 2007 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B87CE16A418 for ; Tue, 9 Oct 2007 07:47:54 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id 4CC1213C43E for ; Tue, 9 Oct 2007 07:47:54 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 16002 invoked by uid 399); 9 Oct 2007 07:47:53 -0000 Received: from localhost (HELO slave.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 9 Oct 2007 07:47:53 -0000 X-Originating-IP: 127.0.0.1 Date: Tue, 9 Oct 2007 00:47:51 -0700 (PDT) From: Doug Barton To: freebsd-current@freebsd.org Message-ID: X-message-flag: Outlook -- Not just for spreading viruses anymore! X-OpenPGP-Key-ID: 0xD5B2F0FB Organization: http://www.FreeBSD.org/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: freebsd-rc@freebsd.org Subject: HEADS UP: Support for /etc/rc.early is now deprecated X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2007 07:47:54 -0000 Please see below. If you need help converting an rc.early script that you are currently using to the new rc.d style please see rc(8) first, and if you get stuck the folks on freebsd-rc@ will be glad to help. Regards, Doug ---------- Forwarded message ---------- From: Doug Barton To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Date: Tue, 9 Oct 2007 00:30:14 Subject: cvs commit: src/etc/rc.d early.sh dougb 2007-10-09 07:30:14 UTC FreeBSD src repository Modified files: etc/rc.d early.sh Log: Deprecate use of the early.sh script as advertised when the support for local rc.d scripts in the overall boot order was added. Proper rc.d scripts are run by rc.subr in a subshell, whereas scripts that end in .sh are sourced into rc's shell. The latter has potential to create serious boot problems, and there is no reason that the same functionality cannot be added by the user in the form of a proper rc.d script (as opposed to being added by the user in the form of /etc/rc.early). This script will be removed prior to the 8.0 branch. Approved by: re (kensmith) Revision Changes Path 1.3 +3 -0 src/etc/rc.d/early.sh http://www.FreeBSD.org/cgi/cvsweb.cgi/src/etc/rc.d/early.sh.diff?&r1=1.2&r2=1.3&f=h