Skip to content

Instantly share code, notes, and snippets.

@james-huston
Created December 16, 2013 14:52
Show Gist options
  • Save james-huston/7988218 to your computer and use it in GitHub Desktop.
Save james-huston/7988218 to your computer and use it in GitHub Desktop.
Stop mac wifi from disconnection on sleep/logout
#!/bin/bash
cd /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources
sudo ./airport en0 prefs DisconnectOnLogout=NO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment