Subject: Re: What about startup scripts??
To: Dominik Rothert <dr@astorit.com>
From: Al B. Snell <alaric@alaric-snell.com>
List: tech-pkg
Date: 12/31/2000 12:07:46
On Sun, 31 Dec 2000, Dominik Rothert wrote:

> ${PREFIX}/etc/rc.conf might contain something like
> 
> if [ $(hostname) = "foo" ]; then 
> 	APACHE=YES
> else
> 	APACHE=NO
> fi
> 
> or whatever. That solves your problem.

Or it could source /usr/pkg/etc/`hostname`.conf. You're right. Even if it
is machine-specific configuration it's still easy to store it with the
packages it configures.

> 
> -Dominik
> 

ABS

-- 
                               Alaric B. Snell
 http://www.alaric-snell.com/  http://RFC.net/  http://www.warhead.org.uk/
   Any sufficiently advanced technology can be emulated in software