summaryrefslogtreecommitdiff
path: root/scripts/bluetooth.rules.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/bluetooth.rules.in')
-rw-r--r--scripts/bluetooth.rules.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bluetooth.rules.in b/scripts/bluetooth.rules.in
new file mode 100644
index 0000000..64df69d
--- /dev/null
+++ b/scripts/bluetooth.rules.in
@@ -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+="@prefix@/sbin/bluetoothd --udev"
+ACTION=="change", SUBSYSTEM=="bluetooth", RUN+="@prefix@/sbin/bluetoothd --udev"