diff --git a/etc/devd.conf b/etc/devd.conf index 3cd9eee98957..7c0182805235 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";