Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DEV='xx:xx:xx.....'
- if [ ! "$(pgrep -f bluetooth)" ] ; then
- sudo systemctl start bluetooth
- fi
- echo 'power on' | bluetoothctl
- pulseaudio -k
- sleep 1
- pulseaudio --start
- sleep 1
- echo "connect ${DEV}" | bluetoothctl
- sleep 5
- echo "info ${DEV}" | bluetoothctl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement