cvs commit: src/etc devd.conf src/etc/bluetooth hosts protocols
src/etc/defaults Makefile bluetooth.device.conf rc.conf
src/etc/rc.d Makefile bluetooth hcsecd sdpd
Maksim Yevmenkin
emax at FreeBSD.org
Wed Nov 23 18:03:51 GMT 2005
emax 2005-11-23 18:03:33 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
etc devd.conf
etc/bluetooth hosts protocols
etc/defaults Makefile rc.conf
etc/rc.d Makefile
Added files: (Branch: RELENG_6)
etc/defaults bluetooth.device.conf
etc/rc.d bluetooth hcsecd sdpd
Log:
MFC: Start Bluetooth integration into rc.d system.
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.
Add rc.d scripts for the hcsecd(8) and sdpd(8) daemons. Put defaults into
/etc/defaults/rc.conf. Both daemons can run even if no Bluetooth devices
are attached to the system. Both daemons depend on Bluetooth socket layer.
Fix Bluetooth assigned numbers URL in /etc/bluetooth/protocols file.
Revision Changes Path
1.1.10.1 +1 -2 src/etc/bluetooth/hosts
1.1.10.1 +2 -1 src/etc/bluetooth/protocols
1.5.2.1 +1 -1 src/etc/defaults/Makefile
1.1.2.1 +112 -0 src/etc/defaults/bluetooth.device.conf (new)
1.252.2.5 +9 -0 src/etc/defaults/rc.conf
1.26.2.2 +10 -0 src/etc/devd.conf
1.53.2.3 +3 -2 src/etc/rc.d/Makefile
1.1.2.1 +366 -0 src/etc/rc.d/bluetooth (new)
1.4.2.1 +38 -0 src/etc/rc.d/hcsecd (new)
1.4.2.1 +38 -0 src/etc/rc.d/sdpd (new)
More information about the cvs-src
mailing list