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
This commit is contained in:
Maksim Yevmenkin 2005-11-12 03:42:56 +00:00
parent ec0fd3f855
commit e4638e53d8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152326

View File

@ -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";