aboutsummaryrefslogtreecommitdiff
path: root/bin/executable_do_blue.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbin/executable_do_blue.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/executable_do_blue.sh b/bin/executable_do_blue.sh
new file mode 100755
index 0000000..b908d14
--- /dev/null
+++ b/bin/executable_do_blue.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+pacmd list-modules module-bluez5-discover | grep -q module-bluez5-discover || \
+ pacmd load-module module-bluez5-discover
+echo "connect CD:0D:69:69:9A:1B" | bluetoothctl