From owner-freebsd-ports@FreeBSD.ORG Tue Jul 27 14:35:36 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 017F516A4CE for ; Tue, 27 Jul 2004 14:35:36 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id D899343D31 for ; Tue, 27 Jul 2004 14:35:35 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by mproxy.gmail.com with SMTP id x71so45620cwb for ; Tue, 27 Jul 2004 07:35:33 -0700 (PDT) Received: by 10.11.100.43 with SMTP id x43mr94112cwb; Tue, 27 Jul 2004 07:35:33 -0700 (PDT) Message-ID: <790a9fff04072707357dae728d@mail.gmail.com> Date: Tue, 27 Jul 2004 09:35:33 -0500 From: Scot Hetzel To: Andrey Chernov In-Reply-To: <20040727092130.GA93929@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1090870254.6881.31.camel@shumai.marcuscom.com> <20040726193539.GA76196@nagual.pp.ru> <1090871921.6881.49.camel@shumai.marcuscom.com> <20040726214357.GA80423@nagual.pp.ru> <1090878694.6881.78.camel@shumai.marcuscom.com> <20040727064438.GA1403@rogue.acs-et.com> <20040727092130.GA93929@nagual.pp.ru> cc: ports@freebsd.org cc: Joe Marcus Clarke cc: Mike Makonnen Subject: Re: [Fwd: Recent changes to rc.d on -CURRENT] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2004 14:35:36 -0000 On Tue, 27 Jul 2004 13:21:30 +0400, Andrey Chernov wrote: > On Tue, Jul 27, 2004 at 09:44:39AM +0300, Mike Makonnen wrote: > > > > The rc.d mechanism with respect to sourcing scripts works like this: > > o scripts ending in '.sh' are sourced in the current subshell > > o all other scripts are sourced in a subshell. > > It is unnecessary complication (innovation). Everybody before localpkg > using knows he can rename his script to anything excepting ending with > ..sh. Say, script.sh.old. Now it is executed. Sigh. > Only if the script hasn't been converted to rcNG. As rcNG scripts require the setting of the _enable="YES" variable in /etc/rc.conf, /etc/rc.conf.local, or /etc/rc.conf.d/, before they will do any actions. Scot