Subject: simple-minded configuration for rc?
To: None <netbsd-users@netbsd.org>
From: Marshall Rose <mrose+mtr.netnews@dbc.mtview.ca.us>
List: netbsd-users
Date: 12/13/2002 13:07:37
hi. here's a problem that's so basic, i'm sure someone's solved it.

i use my netbsd laptop in four different environments, sometimes wifi,
sometimes wired, sometimes dhcp, sometimes hardcoded, sometimes wifi with
wep, sometimes not.

what i'm looking for is a script to put in /etc/rc.d/ that will prompt to pick
one of N different configurations, where each one is basically a script that
diddles ifconfig.xxx and dhclient.conf

so, has anyone written anything like this?

/mtr