Skip to content

Commit

Permalink
Update bluetooth-audio.sh
Browse files Browse the repository at this point in the history
Fixed if statement
  • Loading branch information
kiteretro committed Dec 10, 2019
1 parent 6b51651 commit ea57e6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions settings/bluetooth-audio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
# Install and Configure Bluetooth Audio Support for Pulse Audio
sudo apt-get install -y pulseaudio-module-bluetooth
sudo adduser pi bluetooth
if ! grep "load-module module-switch-on-connect" /etc/pulse/default.pa;
if ! grep "load-module module-switch-on-connect" /etc/pulse/default.pa; then
echo "load-module module-switch-on-connect" >> /etc/pulse/default.pa
fi

Expand All @@ -20,4 +20,4 @@ Menu -> BLUETOOTH -> Configure bluetooth connect mode
Set connect mode to "background"
Do a reboot
EOF
EOF

0 comments on commit ea57e6f

Please sign in to comment.