Date: Tue, 27 Jul 2004 11:04:49 +0300 From: Mike Makonnen <mtm@identd.net> To: Stijn Hoop <stijn@win.tue.nl> Cc: Joe Marcus Clarke <marcus@freebsd.org> Subject: Re: [Fwd: Recent changes to rc.d on -CURRENT] Message-ID: <20040727080449.GE1403@rogue.acs-et.com> In-Reply-To: <20040727072331.GE63542@pcwin002.win.tue.nl> 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> <20040726220821.GA80533@nagual.pp.ru> <20040727064438.GA1403@rogue.acs-et.com> <20040727072331.GE63542@pcwin002.win.tue.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 27, 2004 at 09:23:31AM +0200, Stijn Hoop wrote: > On Tue, Jul 27, 2004 at 09:44:39AM +0300, Mike Makonnen wrote: > > Ports rc.d scripts have always been broken. It's just that it wasn't > > noticeable because rc.d/localpkg was also broken. > > Well of course older rc.d scripts were 'broken' -- they relied on the > older 'broken' behaviour of rc.d/localpkg... No, I'm talking about scripts that used the rc.d mechanism but didn't behave properly (for example, hardcoding configuration values in the script). > > > 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. > > Wait, so you're saying that e.g. 'samba.sh.sample' is also executed in > the new world order? No, '*.sample' and '*-dist' are ignored. Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@identd.net | Fingerprint: AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55 mtm@FreeBSD.Org| FreeBSD - Unleash the Daemon !
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040727080449.GE1403>