Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 1999 08:08:21 -0600 (CST)
From:      Richard Wackerbarth <rkw@dataplex.net>
To:        Wes Peters <wes@softweyr.com>
Cc:        "Daniel O'Connor" <doconnor@gsoft.com.au>, freebsd-hackers@FreeBSD.ORG, David Wolfskill <dhw@whistle.com>
Subject:   Re: more modular rc/init/uninit system...
Message-ID:  <Pine.BSF.4.05.9902020758270.4779-100000@nomad.dataplex.net>
In-Reply-To: <36B695B3.E00558DC@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 1 Feb 1999, Wes Peters wrote:
> 
> That was what drove my idea to use a makefile; you could write the 
> start/stop scripts and express the dependencies in the makefile; the 
> start/stop scripts would be useful on their own.  The disadvantage is 
> that you now have to edit the Makefile to add or remove something; 
> which we were trying to avoid.

Let me suggest that we "indirect" the script files one level (ala
autoconfig). 

For each package, we create <package>.rc which has the guts of the scripts
and the dependancies. When we add, delete, or change a package, we rerun
the startup configurer which rewrites the actual scripts as needed.


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?Pine.BSF.4.05.9902020758270.4779-100000>