Subject: Re: domain names (?)
To: VaX#n8 <vax@ccwf.cc.utexas.edu>
From: Simon J. Gerraty <sjg@zen.void.oz.au>
List: current-users
Date: 11/01/1995 20:39:32
> Is anyone interested in developing some kind of standard handling for
> such situations (i.e. periodic change of location, link status, etc.)
I use an idea I got from David Carrel on my notebook. Of course in
true sjg fasion I couldn't leave it simple :-)
/etc/neton "net"
configures ep0 according to some variables in the script, and then
runs /etc/net-"net".d/S* followed by /etc/net.d/S*
Similarly /etc/netoff runs /etc/net.d/K* before deleting default
routes and disabling ep0.
This allows a bunch of things that are unique to each "net" to be
turned on/off.
For example switching to
/etc/aliases-$net
/etc/printcap-$net
/etc/resolv-$net
and re-starting sendmail.
Worked fine until the notebook died :-)