Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Disable AirPort when Ethernet cable is connected' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Disable AirPort when Ethernet cable is connected
Authored by: ardong on Jul 19, '10 12:31:54PM
I made a small amendment to this script:

#!/bin/sh
if ifconfig en0 | grep inet; 
then /usr/sbin/networksetup -setairportpower Airport off
else
/usr/sbin/networksetup -setairportpower Airport on
fi


[ Reply to This | # ]