Skip to content

Instantly share code, notes, and snippets.

@iggym
Last active July 9, 2019 13:19
Show Gist options
  • Save iggym/b44a06fd1680b43097a93d422021c304 to your computer and use it in GitHub Desktop.
Save iggym/b44a06fd1680b43097a93d422021c304 to your computer and use it in GitHub Desktop.
#!/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