Date: Mon, 5 Dec 2005 10:37:30 +0000 From: Ceri Davies <ceri@submonkey.net> To: Doug Barton <dougb@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc rc.subr Message-ID: <20051205103730.GD51395@submonkey.net> In-Reply-To: <43940A83.5090506@FreeBSD.org> References: <200512050704.jB574FeY098280@repoman.freebsd.org> <20051205093038.GC51395@submonkey.net> <43940A83.5090506@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051205103730.GD51395>