summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/devd.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/devd.conf b/etc/devd.conf
index 3cd9eee..7c01828 100644
--- a/etc/devd.conf
+++ b/etc/devd.conf
@@ -86,6 +86,16 @@ detach 100 {
device-name "ed50";
};
+# When a USB Bluetooth dongle appears activate it
+attach 100 {
+ device-name "ubt[0-9]+";
+ action "/etc/rc.d/bluetooth start $device-name";
+};
+detach 100 {
+ device-name "ubt[0-9]+";
+ action "/etc/rc.d/bluetooth stop $device-name";
+};
+
# When a USB keyboard arrives, attach it as the console keyboard.
attach 100 {
device-name "ukbd0";
OpenPOWER on IntegriCloud