diff options
author | emax <emax@FreeBSD.org> | 2005-11-12 03:42:56 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2005-11-12 03:42:56 +0000 |
commit | a942e061a364f3ef0b7328537eefe9b534840102 (patch) | |
tree | da55038a10fd0753ed75acda5dd09ff4ce96cb2d | |
parent | 9b80130dabfc2f2fbcf8bcdc9babb66879e3871a (diff) | |
download | FreeBSD-src-a942e061a364f3ef0b7328537eefe9b534840102.zip FreeBSD-src-a942e061a364f3ef0b7328537eefe9b534840102.tar.gz |
Add section to start/stop Bluetooth USB devices (via ng_ubt(4))
Submitted by: Panagiotis Astithas ( past at ebs dot gr )
Reviewed by: brooks, imp
MFC after: 1 week
-rw-r--r-- | etc/devd.conf | 10 |
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"; |