toggle-airport
Code for disabling Wi-Fi when docking (connecting an ethernet adapter) and enabling Wi-Fi when disconnecting from ethernet.
I am using MacBook Pro 15'' with macOS Catalina.
Quick start
- Put toggleAirport.sh in the correct location with the right permissions (see comment at the top of the file)
- Put com.mine.toggleairport.plist in the correct location with the right permissions (see comment at the top of the file)