[Fwd: Recent changes to rc.d on -CURRENT]

Scot Hetzel swhetzel at gmail.com
Tue Jul 27 07:35:36 PDT 2004

On Tue, 27 Jul 2004 13:21:30 +0400, Andrey Chernov <ache at 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.


More information about the freebsd-ports mailing list