Subject: Re: Changing root's shell to /bin/sh
To: None <david@fundy.ca>
From: maximum entropy <entropy@zippy.bernstein.com>
List: tech-userlevel
Date: 03/18/1999 13:28:39
>Date: Wed, 17 Mar 1999 18:30:06 -0400
>From: David Maxwell <david@fundy.ca>
>
>On Wed, Mar 17, 1999 at 02:43:14PM -0500, maximum entropy wrote:
>> 
>> ``smart-program-to-rebuild-configuration'' would read all the
>> "require" and "provide" information from the scripts in /etc/rc.d, and
>> produce the startup script that would call all of them in the correct
>> order.  The decision-making process would be fast -- either the
>> configuration has changed or it hasn't.
>
>Just to be complete (cause I like this method also)
>
>What is the failure mode when two scripts REQUIRE each other?

The same as any other failure.  The program to build the configuration
should detect the circular dependency, and exit with non-zero status
without changing anything.

Cheers,
entropy

--
entropy -- it's not just a good idea, it's the second law.