diff --git a/Personal/955-install-settings-autoconnect-to-bluetooth-headset-v1.sh b/Personal/955-install-settings-autoconnect-to-bluetooth-headset-v1.sh index b62af57e..c257fab5 100755 --- a/Personal/955-install-settings-autoconnect-to-bluetooth-headset-v1.sh +++ b/Personal/955-install-settings-autoconnect-to-bluetooth-headset-v1.sh @@ -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 ################"