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