Created
March 17, 2020 09:56
-
-
Save vmu9999/9918ceaee2f3fffb3d4e73deb7d11504 to your computer and use it in GitHub Desktop.
Shell script to restart bluetooth daemon for macOS.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Restarting bluetooth daemon for OSX" | |
sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport | |
sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport | |
echo "Complete" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment