Subject: Re: changing boot behaviour automatically?
To: Malcolm Herbert <mjch@mjch.net>
From: dieter roelants <dieter.NetBSD@pandora.be>
List: netbsd-users
Date: 08/13/2006 09:37:00
On Sun, 13 Aug 2006 15:38:59 +1000
Malcolm Herbert <mjch@mjch.net> wrote:

> I have a disk image I'm using on two machines at the moment. One of
> these is used as a server and the other is a workstation.
> 
> The server currently has extra IP aliases, a DHCP server, proxies and
> all the sorts of stuff that a server normally does ... the workstation
> has a different X config and some other bits and pieces which don't
> appear on the server.
> 
> I don't really want the workstation to try running these services
> when it starts, but fixing this issue involves changing /etc/rc.conf
> and a few other files here and there and I'd prefer to have this done
> automagically.
> 
> What would be the best method to affect this change? /etc/rc.conf is
> a shell script, so I suppose I could have it look to the output of
> ifconfig and work out from the MAC address which machine it's running
> on, but that seemed a little hackish to me ...

You're probably looking for newbtconf(8)? With it, you'd only have to
change one symbolic link.

Kind reagrds
dieter

> 
> -- 
> Malcolm Herbert                                This brain intentionally
> mjch@mjch.net                                                left blank
>