Skip to content

Instantly share code, notes, and snippets.

@thefonso
Forked from nicolasembleton/restart_bluetooth.sh
Created January 7, 2019 21:58
Show Gist options
  • Save thefonso/eeb4327ffa206c2e0d70bbe0c1463459 to your computer and use it in GitHub Desktop.
Save thefonso/eeb4327ffa206c2e0d70bbe0c1463459 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