Update et-vr-n76

This commit is contained in:
David Stewart
2025-12-11 16:43:02 -08:00
committed by GitHub
parent 1284ff1825
commit a480bf3f7a
+1 -1
View File
@@ -148,7 +148,7 @@ case $1 in
p|pair)
MAC=$(cat ${ACTIVE_RADIO} | jq -e -r .bluetooth.mac)
if [ $? -eq 0 ]; then
if [[ "{$MAC}" != "" ]]; then
PAIR_STATUS=$(bluetoothctl info "${MAC}" | grep "Paired:" | awk '{print $2}')
if [ "${PAIR_STATUS}" == "yes" ]; then
echo "Device with MAC ${MAC} is already paired."