summaryrefslogtreecommitdiff
path: root/scripts/bluetooth.rules.in
diff options
context:
space:
mode:
authorAdrian Bunk <adrian.bunk@movial.com>2011-06-03 09:17:04 +0000
committerAdrian Bunk <adrian.bunk@movial.com>2011-06-03 09:17:04 +0000
commit799757ccf1d03c33c75bc597cd5ef77741dcb6a7 (patch)
treea8c3be85c730de28b012586591b76301033d3d21 /scripts/bluetooth.rules.in
Imported upstream 4.91upstream-4.91upstreampackaging
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"