Skip to content

Instantly share code, notes, and snippets.

@loganakamatsu
Created April 25, 2016 15:20
Show Gist options
  • Save loganakamatsu/b235a7205ca9652757510c38d68d795c to your computer and use it in GitHub Desktop.
Save loganakamatsu/b235a7205ca9652757510c38d68d795c to your computer and use it in GitHub Desktop.
OS X Automator -- Turn wifi off
# create an Automator application with 'Run Shell Script' action; then it can be searched in spotlight
networksetup -setairportpower airport off
# turn it back on:
# networksetup -setairportpower airport on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment