fix re-pairing for hardcoded devices
This commit is contained in:
parent
f74f5b88b7
commit
ae1e636514
2
bt
2
bt
@ -251,7 +251,7 @@ case $choice in
|
|||||||
then
|
then
|
||||||
bluetoothctl disconnect "$dev_id"
|
bluetoothctl disconnect "$dev_id"
|
||||||
else
|
else
|
||||||
bluetoothctl devices | grep -q "$dev_id" || bluetoothctl pair "$dev_id"
|
bluetoothctl paired-devices | grep -q "$dev_id" || bluetoothctl pair "$dev_id"
|
||||||
bluetoothctl connect "$dev_id"
|
bluetoothctl connect "$dev_id"
|
||||||
fi
|
fi
|
||||||
fi;;
|
fi;;
|
||||||
|
Loading…
Reference in New Issue
Block a user