Files
svr/usr/bin/bt-connect
T
2026-01-23 08:55:18 +01:00

12 lines
127 B
Bash
Executable File

#!/usr/bin/bash
if [ "$#" -ne 1 ] ; then
echo "Usage: $0 name"
exit 1
fi
bluetoothctl connect $(bt-addr $1)
exit 0