mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 10:09:30 +00:00
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:
parent
ec0fd3f855
commit
e4638e53d8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152326
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user