Skip to content

Commit

Permalink
disable=socket for bluetooth
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdubois committed Jun 25, 2021
1 parent 204be8d commit ab6488f
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,20 @@
# load-module module-switch-on-connect' | sudo tee --append /etc/pulse/default.pa
# fi

echo "#################"
echo "Fix 3"
echo "#################"
[ -f /etc/modprobe.d/bluetooth-clear.conf ] && echo "Bluetooth-clear already created" || echo 'options ath9k btcoex_enable = 1' | sudo tee /etc/modprobe.d/bluetooth-clear.conf

echo "#################"
echo "Fix 4"
echo "#################"
if grep --quiet "Disable=Socket" /etc/bluetooth/main.conf; then
echo "Disable=Socket is already added"
else
echo '
Disable=Socket' | sudo tee --append /etc/bluetooth/main.conf
fi

echo "################################################################"
echo "######### reboot to let the settings kick in ################"
Expand Down

0 comments on commit ab6488f

Please sign in to comment.