[RFC] rc.d integration for the bluetooth subsystem
Lyndon Nerenberg
lyndon at orthanc.ca
Wed Nov 2 13:39:50 PST 2005
On Nov 2, 2005, at 8:20 AM, Brooks Davis wrote:
>> ${dev}_bluetooth_config=".."
>>
>> i did not like this one because hccontrol(8) and other bluetooth
>> tools
>> do not support more than one command at a time, i.e. its not
>> possible to
>> run "hccontrol -n ubt0hci cmd1 param1 cmd2 param2". changing
>> hccontrol(8) to support this kind of syntax is somewhat tricky,
>> because
>> commands may have optional parameters.
>>
>> - have all non-default parameters appear on a separate lines, i.e.
>>
>> ${dev}_bluetooth_local_name="..."
>> ${dev}_bluetooth_hci_debug_level="..."
I would prefer these variable names take the form bluetooth_${dev}
_foo, or even better, btconf_${dev}_foo. That way all the bluetooth
config entries group together by device when rc.conf is kept sorted
by variable name. (This also follows the ifconfig_{$if} naming
convention.)
--lyndon
More information about the freebsd-bluetooth
mailing list