Skip to content

Instantly share code, notes, and snippets.

@chrismiles
Created November 3, 2014 06:19
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrismiles/8bbdbb74fab79b290298 to your computer and use it in GitHub Desktop.
Save chrismiles/8bbdbb74fab79b290298 to your computer and use it in GitHub Desktop.
discoveryd_kick.sh
#!/bin/sh
set -x
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist
sleep 10
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment