From owner-cvs-all@FreeBSD.ORG Mon Dec 5 10:37:33 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B62916A41F; Mon, 5 Dec 2005 10:37:33 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc2-cdif2-3-1-cust208.cdif.cable.ntl.com [82.31.78.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 887AB43D58; Mon, 5 Dec 2005 10:37:32 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1EjDit-000OMv-2m; Mon, 05 Dec 2005 10:37:31 +0000 Date: Mon, 5 Dec 2005 10:37:30 +0000 From: Ceri Davies To: Doug Barton Message-ID: <20051205103730.GD51395@submonkey.net> Mail-Followup-To: Ceri Davies , Doug Barton , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200512050704.jB574FeY098280@repoman.freebsd.org> <20051205093038.GC51395@submonkey.net> <43940A83.5090506@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IMjqdzrDRly81ofr" Content-Disposition: inline In-Reply-To: <43940A83.5090506@FreeBSD.org> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.11 Sender: Ceri Davies Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc rc.subr X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 10:37:33 -0000 --IMjqdzrDRly81ofr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 05, 2005 at 01:38:11AM -0800, Doug Barton wrote: > 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=20 > >> 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?=20 >=20 > For the purposes of the new world order (other than sourcing /etc/rc.d/*.= sh=20 > into the shell), scripts in /etc/rc.d/ and ${local_startup}/rc.d are=20 > handled the same way. Ok, it's the sourcing that I was worried about. > >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. >=20 > Not obvious at all. :) If there is no execute bit on the script, it will= =20 > not get run, no matter where it resides. Sure. Sourcing is a different matter though. Ceri --=20 Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. -- Einstein (attrib.) --IMjqdzrDRly81ofr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDlBhqocfcwTS3JF8RAk8IAKCxQAacSFjvUjP2WCp4VSL3TGFU2ACcDLLD YG85LgCIkoVCQ3zHrpMBxNU= =NZih -----END PGP SIGNATURE----- --IMjqdzrDRly81ofr--