Guess it largely depends on what your distro is how to
go about this, what I'm doing is to append a variable
LOCATION=<xxx> from lilo (with three different menu
entries for work, home, no_net) that will be evaluated
from /etc/rc.d/rc.inet1 (in mycase) ... if it's no-net inet1
just exits after setting up lo, if it's home it goes dhcp,
if it's work it comes up with a static IP.