Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2004 09:35:33 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Andrey Chernov <ache@nagual.pp.ru>
Cc:        Mike Makonnen <mtm@identd.net>
Subject:   Re: [Fwd: Recent changes to rc.d on -CURRENT]
Message-ID:  <790a9fff04072707357dae728d@mail.gmail.com>
In-Reply-To: <20040727092130.GA93929@nagual.pp.ru>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 Jul 2004 13:21:30 +0400, Andrey Chernov <ache@nagual.pp.ru> 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 <name>_enable="YES" variable in
/etc/rc.conf, /etc/rc.conf.local, or /etc/rc.conf.d/<name>, before
they will do any actions.

Scot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff04072707357dae728d>