Subject: Re: Changing root's shell to /bin/sh
To: Chris Jones <cjones@rupert.honors.montana.edu>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: tech-userlevel
Date: 03/17/1999 20:17:02
On Wed, Mar 17, 1999 at 11:47:50AM -0700, Chris Jones wrote:
> >>>>> "Kevin" == Kevin P Neal <kpneal@pobox.com> writes:
> 
> Kevin> Would a set of Makefiles be sufficient to build a start script?
> 
> It would be neat to have an init which could read a config file in a
> syntax similar to a Makefile.  So, for instance, nfsd is dependent on
> portmap running.  Portmap is dependent on ifconfig having been run at
> some point in the past.  etc.
> 
> I would be hesitant to put this much complexity into init, but there
> are some arguments for it.  For starters, init is in a good position
> to know what daemons are running, since they're all children of init.

If you want this functionality: implement it in a seperate program, and call
it from a replacement /etc/rc. No need to hack init.

And read the discussion about this in tech-uhm, what was it, a while ago.
The searchable mailing list archives will help.

Regards,
	Ignatios