Previously, I posted about which disables Wi-Fi while connect to Ethernet. The version compare logic in it broke with the release of OS X Yosemite (10.10), so I hacked it up to work on any OS X 10.x release - which should fix it until they release OS XI :)

I’ve updated the gist with the corrected script.