AstroVisioBox/scripts/btconnect.sh

6 lines
241 B
Bash
Executable File

#!/bin/bash
export XDG_RUNTIME_DIR="/run/user/$(id -u)"
/usr/bin/bluetoothctl connect C8:7B:23:48:F6:30 >> /tmp/bluetoothConnexion.log 2>&1
/usr/bin/pacmd set-card-profile bluez_card.C8_7B_23_48_F6_30 headset_head_unit >> /tmp/bluetoothCo