Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 1999 14:28:31 -0800 (PST)
From:      David Wolfskill <dhw@whistle.com>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: more modular rc/init/uninit system...
Message-ID:  <199902012228.OAA12331@pau-amma.whistle.com>
In-Reply-To: <36B52323.FE27286D@newsguy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Mon, 01 Feb 1999 12:44:35 +0900
>From: "Daniel C. Sobral" <dcs@newsguy.com>

>Curt Sampson wrote:

>> One interesting thing you can do with this is dump your own script,
>> `foo', into the directory which says `x, y and z are all dependent
>> on me.' Then you can start or stop foo, and that would take care
>> of starting and stopping x, y and z. This will let you emulate SysV
>> run levels, but also provide a lot more flexability.

>Yeah, and having to change my ppp dial on demand script everytime I
>add something that depends on it. Scripts shouldn't have to be
>changed. That's the main benefit of FreeBSD's rc.conf.

So switch the logic:  the "foo" script should be able to tell a
sufficiently interested inquirer what services it depends on.

If some of those have additional dependencies... well, I think we know
how to do transitive closure on such dependency graphs.

david
-- 
David Wolfskill		UNIX System Administrator
dhw@whistle.com		voice: (650) 577-7158	pager: (650) 371-4621

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902012228.OAA12331>