Skip to content

Instantly share code, notes, and snippets.

@leonardorifeli
Forked from nicolasembleton/restart_bluetooth.sh
Created September 4, 2017 20:11
Show Gist options
  • Save leonardorifeli/3e37560d01b1643495eb482a60c7ac25 to your computer and use it in GitHub Desktop.
Save leonardorifeli/3e37560d01b1643495eb482a60c7ac25 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