diff --git a/ansible/files/bluetooth-mac.bash b/ansible/files/bluetooth-mac.bash index 7661542..f19dd8a 100644 --- a/ansible/files/bluetooth-mac.bash +++ b/ansible/files/bluetooth-mac.bash @@ -1,5 +1,5 @@ #!/usr/bin/env bash set -x rfkill unblock bluetooth -echo $"stdin for btmgmt" | btmgmt -i hci0 public-addr $(hciconfig hci0 | grep -o $"[[:xdigit:]:]\\{11,17\\}")' +echo $"stdin for btmgmt" | btmgmt -i hci0 public-addr $(hciconfig hci0 | grep -o $"[[:xdigit:]:]\\{11,17\\}") # btmgmt requires stdin, so we feed it some garbage...