Created
April 24, 2011 19:50
-
-
Save mybuddymichael/939827 to your computer and use it in GitHub Desktop.
Quickly turn Airport off and on
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
do shell script "/usr/sbin/networksetup -setairportpower en1 off" | |
do shell script "/usr/sbin/networksetup -setairportpower en1 on" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My iMac's Airport device never wants to connect after a wake unless I turn it off and turn it back on again, so this quickly does that.