From owner-freebsd-hackers Mon Feb 1 17:25:10 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA18246 for freebsd-hackers-outgoing; Mon, 1 Feb 1999 17:25:10 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from xylan.com (postal.xylan.com [208.8.0.248]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA18241 for ; Mon, 1 Feb 1999 17:25:06 -0800 (PST) (envelope-from wes@softweyr.com) Received: from mailhub.xylan.com by xylan.com (8.8.7/SMI-SVR4 (xylan-mgw 2.2 [OUT])) id RAA17828; Mon, 1 Feb 1999 17:25:01 -0800 (PST) Received: from utah.XYLAN.COM by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id RAA12695; Mon, 1 Feb 1999 17:25:00 -0800 Received: from softweyr.com by utah.XYLAN.COM (SMI-8.6/SMI-SVR4 (xylan utah [SPOOL])) id SAA21471; Mon, 1 Feb 1999 18:24:59 -0700 Message-ID: <36B653EB.AEEA99AA@softweyr.com> Date: Mon, 01 Feb 1999 18:24:59 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 2.2.7-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: David Wolfskill CC: freebsd-hackers@FreeBSD.ORG Subject: Re: more modular rc/init/uninit system... References: <199902012228.OAA12331@pau-amma.whistle.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David Wolfskill wrote: > > Daniel C. Sobral muttered: > > >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. If you're using user-mode PPP, you certainly wouldn't have to change the script, just which target you call in the PPP configuration. > So switch the logic: the "foo" script should be able to tell a > sufficiently interested inquirer what services it depends on. I thought this was obvious, thus the long discussion about tools to manage dependency graphs. > If some of those have additional dependencies... well, I think we know > how to do transitive closure on such dependency graphs. Even if "we" don't, tsort does. Ain't UNIX wunnerful? -- Where am I, and what am I doing in this handbasket? Wes Peters +1.801.915.2061 Softweyr LLC wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message