cdf98ad3e7
Introduce /etc/rc.d/bluetooth script to start/stop Bluetooth devices. It will be called from devd(8) in response to device arrival/departure events. It is also possible to call it by hand to start/stop particular device without unplugging it. Introduce generic way to set configuration parameters for Bluetooth devices. By default /etc/rc.d/bluetooth script has hardwired defaults compatible with old rc.bluetooth from /usr/share/netgraph/bluetooth/examples. These can be overridden using /etc/defaults/bluetooth.device.conf file (system wide defaults). Finally, there could be another device specific override file located in /etc/bluetooth/$device.conf (where $device is ubt0, btccc0 etc.) The list of configuration parameters and their meaning described in the /etc/defaults/bluetooth.device.conf file. Even though Bluetooth device configuration files are not shell scripts, they must follow basic sh(1) syntax. The bluetooth.device.conf(5) and handbook update will follow shortly. Inspired by: Panagiotis Astithas ( past at ebs dot gr ) Reviewed by: brooks, yar MFC after: 1 week
11 lines
245 B
INI
11 lines
245 B
INI
# $Id: hosts,v 1.1 2003/05/21 17:48:40 max Exp $
|
|
# $FreeBSD$
|
|
#
|
|
# Bluetooth Host Database
|
|
#
|
|
# This file should contain the Bluetooth addresses and aliases for hosts.
|
|
#
|
|
# BD_ADDR Name [ alias0 alias1 ... ]
|
|
|
|
# 00:11:22:33:44:55 phone
|