That would be quite a hassle to implement
that way, and ugly, because your users would
have to be able to modify system files in /etc
What I've done on my machine is to add a
lilo menu entry that does nothing but set
one environment variable LOCATION, which
I then evaluate from my network startup script,
switching between DHCP and Static from there,
and copy a matching /etc/resolv.conf into place.
Cheers,
Tink
|