I have gentoo running on a laptop that I use on two different networks. When I'm in the office there are a couple of tweaks I need/want in make.conf and resolve.conf.head: I have access to a local sync server and distributed compiling, and because of the way our dhcp is setup I need to add a line to resolve.conf.head to properly resolve intranet names. When I'm not on the office network I need to disable the resolve.conf.head and the distributed compile and local sync server in make.conf. Is there a way to make these changes automatically based on my current subnet? Perhaps by pointing a symlink to the appropriate *.conf file?
Any suggestions are appreciated!