On my laptop, I generally don’t have /etc/hostname.* files. Since I don’t know where I’m going to be, I don’t know which interface I’m going to be using. So, I’ll manually run `sudo dhclient em0` or `sudo ifconfig ral0 nwid foo && sudo dhclient ral0`. But, I’m often using my home wireless network.
So, I added a little bit of magic to my /etc/rc.local:


