SHOW:
|
|
- or go back to the newest paste.
| 1 | DEV='xx:xx:xx.....' | |
| 2 | if [ ! "$(pgrep -f bluetooth)" ] ; then | |
| 3 | sudo systemctl start bluetooth | |
| 4 | fi | |
| 5 | ||
| 6 | echo 'power on' | bluetoothctl | |
| 7 | pulseaudio -k | |
| 8 | sleep 1 | |
| 9 | pulseaudio --start | |
| 10 | - | echo 'connect ${DEV}' | bluetoothctl
|
| 10 | + | |
| 11 | echo "connect ${DEV}" | bluetoothctl
| |
| 12 | - | echo 'info ${DEV}' | bluetoothctl |
| 12 | + | |
| 13 | echo "info ${DEV}" | bluetoothctl |