Re: init.d script dependencies for etch?
martin f krafft wrote:
My sarcasm detector went off with this one, so I'll try to intervene.
AFAIK the Gentoo /etc/rc does the following:
1. for all init.d scripts, read it, call depend(), determine its
dependencies, store its start() function somewhere;
2. for all dependency-ordered determined, call the start() functions
paralelizing when possible
also sprach Bastian Blank <email@example.com> [2005.04.01.2104 +0200]:
Uh, this looks like a "pull" type of thing in which ever init.d
script starts its dependencies. I don't think this is a good idea.
No, it is not. The dependencies are cached.
Cached? As in queried beforehand? As in two-pass algorithm, once
iterating init.d with 'depends' as option, then with 'start' ?
Yeah, that sounds nice.
And, yes, it's very nice.