summaryrefslogtreecommitdiff
path: root/scripts/bluetooth.rules
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/bluetooth.rules')
-rw-r--r--scripts/bluetooth.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bluetooth.rules b/scripts/bluetooth.rules
new file mode 100644
index 0000000..a67c1ad
--- /dev/null
+++ b/scripts/bluetooth.rules
@@ -0,0 +1,4 @@
+# Run helper every time a Bluetooth device appears
+# On remove actions, bluetoothd should go away by itself
+ACTION=="add", SUBSYSTEM=="bluetooth", RUN+="/usr/local/sbin/bluetoothd --udev"
+ACTION=="change", SUBSYSTEM=="bluetooth", RUN+="/usr/local/sbin/bluetoothd --udev"