Last active
July 9, 2019 13:19
-
-
Save iggym/b44a06fd1680b43097a93d422021c304 to your computer and use it in GitHub Desktop.
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 | |
# script to restart macOS bluetooth with reboot | |
# see related link https://gist.github.com/nicolasembleton/afc19940da26716f8e90 | |
# stop bluetooth dameon | |
sudo kill -9 `pgrep bluetoothd` | |
# start bluetooth dameon | |
sudo launchctl start com.apple.bluetoothd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment