Posted By

griffman on 01/10/13


Tagged

Bash terminal airport


Versions (?)

Toggle AirPort off/on


 / Published in: Bash
 

This bash script toggles the status of the AirPort card in a Mac. Note that the code that determines the interface ID is really a hack, and likely to break at any time. Replace with a hardcoded interface ID for best reliability.

Report this snippet  

You need to login to post a comment.