Skip to content

Instantly share code, notes, and snippets.

@prasithg
Forked from nicolasembleton/restart_bluetooth.sh
Created June 8, 2016 16:35
Show Gist options
  • Select an option

  • Save prasithg/c767b4acd7b9b7feb81225a2f92bc7fe to your computer and use it in GitHub Desktop.

Select an option

Save prasithg/c767b4acd7b9b7feb81225a2f92bc7fe to your computer and use it in GitHub Desktop.

Revisions

  1. @nicolasembleton nicolasembleton renamed this gist Nov 6, 2014. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gistfile1.txt → restart_bluetooth.sh
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,4 @@
    #!/bin/bash

    sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
    sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
  2. @nicolasembleton nicolasembleton created this gist Nov 6, 2014.
    2 changes: 2 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
    sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport