Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157070453
D38323.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D38323.id.diff
View Options
diff --git a/sbin/devd/Makefile b/sbin/devd/Makefile
--- a/sbin/devd/Makefile
+++ b/sbin/devd/Makefile
@@ -17,6 +17,13 @@
DHCLIENT+= dhclient.conf
DHCLIENTPACKAGE= dhclient
+.if ${MK_BLUETOOTH} != "no"
+CONFGROUPS+= BLUETOOTH
+BLUETOOTHDIR= ${DEVDDIR}
+BLUETOOTH+= bluetooth.conf
+BLUETOOTHPACKAGE= bluetooth
+.endif
+
.if ${MK_HYPERV} != "no"
CONFGROUPS+= HYPERV
HYPERVDIR=${DEVDDIR}
diff --git a/sbin/devd/bluetooth.conf b/sbin/devd/bluetooth.conf
new file mode 100644
--- /dev/null
+++ b/sbin/devd/bluetooth.conf
@@ -0,0 +1,9 @@
+# When a USB Bluetooth dongle appears, activate it
+attach 100 {
+ device-name "ubt[0-9]+";
+ action "service bluetooth quietstart $device-name";
+};
+detach 100 {
+ device-name "ubt[0-9]+";
+ action "service bluetooth quietstop $device-name";
+};
diff --git a/sbin/devd/devd.conf b/sbin/devd/devd.conf
--- a/sbin/devd/devd.conf
+++ b/sbin/devd/devd.conf
@@ -69,16 +69,6 @@
device-name "ed50";
};
-# When a USB Bluetooth dongle appears, activate it
-attach 100 {
- device-name "ubt[0-9]+";
- action "service bluetooth quietstart $device-name";
-};
-detach 100 {
- device-name "ubt[0-9]+";
- action "service bluetooth quietstop $device-name";
-};
-
# Firmware downloader for Atheros AR3011 based USB Bluetooth devices
#attach 100 {
# match "vendor" "0x0cf3";
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 19, 6:35 AM (1 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33247405
Default Alt Text
D38323.id.diff (1 KB)
Attached To
Mode
D38323: devd: Move bluetooth part in devd/bluetooth.conf
Attached
Detach File
Event Timeline
Log In to Comment