Skip to content

Instantly share code, notes, and snippets.

@fourdollars
Created April 14, 2015 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fourdollars/970586d510a3c4e4b18a to your computer and use it in GitHub Desktop.
Save fourdollars/970586d510a3c4e4b18a to your computer and use it in GitHub Desktop.
#! /usr/bin/env bash
if dpkg-query -W | grep rtl8723bs-bluetooth-dkms; then
sudo apt-get purge rtl8723bs-bluetooth-dkms
fi
sudo dpkg -i rtl8723bs-bluetooth-misc_150212chestersmill2_amd64.deb
if ! grep "Enable=Gateway" /etc/bluetooth/audio.conf; then
echo "Enable=Gateway" | sudo tee -a /etc/bluetooth/audio.conf
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment