summaryrefslogtreecommitdiff
path: root/scripts/bluetooth.rules
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
Imported upstream 4.91upstream-4.91upstreampackaging
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"