From owner-cvs-src@FreeBSD.ORG Mon Dec 5 09:38:15 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52CCA16A420 for ; Mon, 5 Dec 2005 09:38:15 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mail2.fluidhosting.com [204.14.90.12]) by mx1.FreeBSD.org (Postfix) with SMTP id 95DFE43D66 for ; Mon, 5 Dec 2005 09:38:13 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 43169 invoked by uid 399); 5 Dec 2005 09:38:12 -0000 Received: from localhost (HELO ?192.168.0.5?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 5 Dec 2005 09:38:12 -0000 Message-ID: <43940A83.5090506@FreeBSD.org> Date: Mon, 05 Dec 2005 01:38:11 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5 (X11/20051203) MIME-Version: 1.0 To: Ceri Davies , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200512050704.jB574FeY098280@repoman.freebsd.org> <20051205093038.GC51395@submonkey.net> In-Reply-To: <20051205093038.GC51395@submonkey.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: cvs commit: src/etc rc.subr X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 09:38:15 -0000 Ceri Davies wrote: > On Mon, Dec 05, 2005 at 07:04:15AM +0000, Doug Barton wrote: >> dougb 2005-12-05 07:04:15 UTC >> >> FreeBSD src repository >> >> Modified files: >> etc rc.subr >> Log: >> Change how *.sh scripts are handled. If the script is in /etc/rc.d, >> source it into the shell. If not, handle it in a subshell the same >> way that "real" rc.d-style scripts are handled. This will dramatically >> ease the "process local scripts in the base rcorder" transition. > > Are you planning to do this for /usr/local/etc/rc.d as well? For the purposes of the new world order (other than sourcing /etc/rc.d/*.sh into the shell), scripts in /etc/rc.d/ and ${local_startup}/rc.d are handled the same way. > I often > take the execute bit off old-rc type scripts in there to disable them, > and that would obviously become a problem should this get applied there > too. Not obvious at all. :) If there is no execute bit on the script, it will not get run, no matter where it resides. hth, Doug -- This .signature sanitized for your protection