Skip to content

Instantly share code, notes, and snippets.

@anhhtz
Forked from nicolasembleton/restart_bluetooth.sh
Created May 14, 2019 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anhhtz/ece6e6be3c27d4f987458ed3df4adee0 to your computer and use it in GitHub Desktop.
Save anhhtz/ece6e6be3c27d4f987458ed3df4adee0 to your computer and use it in GitHub Desktop.
Restart Bluetooth Daemon on Mac OS X without restarting
#!/bin/bash
sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment