So I used to use this script from MacOSXHints to automatically toggle my Wi-Fi whenever I connected my OS X 10.6 and 10.8 MBPs into Ethernet or my 27" TB Display:
Ever been annoyed to be on both wireless AND wired network at the same time, without the opportunity to automatically disable AirPort when plugging in a cable?
Well this little script and launchd agent will auto-disable AirPort on active ethernet.
Since installing Mavericks on my new Late 2013 retina MBP 15, even after editing the interface names to the new system's (en5, for example) the script no longer works; I think that the old
/Library/Preferences/SystemConfiguration folder is no longer used or working the same in Mavs as in previous releases..