HardenedBSD/sbin/devd/bluetooth.conf
Emmanuel Vadot 9150a0455e devd: Move bluetooth part in devd/bluetooth.conf
And make it part of the FreeBSD-bluetooth package.
This avoid calling service bluetooth on an installation without it
installed.

Sponsored by:   Beckhoff Automation GmbH & Co. KG
Differential Revision:	https://reviews.freebsd.org/D38323
2023-02-08 08:51:34 +01:00

10 lines
240 B
Plaintext

# 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";
};