Created
February 13, 2017 00:38
-
-
Save liddiard/1529711c2bccf1a4e0bc2733d562981a to your computer and use it in GitHub Desktop.
Turn the Wi-Fi on a Mac off and on again, because apparently that's still a thing we need to do these days.
This file contains hidden or 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
#!/bin/bash | |
networksetup -setairportpower en0 off | |
sleep 1 | |
networksetup -setairportpower en0 on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment