Allow options for hidd

This commit is contained in:
Marcel Holtmann 2004-05-07 22:04:27 +00:00
parent 46db4df866
commit 7b058edb0e
2 changed files with 6 additions and 2 deletions

View File

@ -12,6 +12,9 @@ SDPD_ENABLE=true
# Start hidd (allowed values are "true" and "false")
HIDD_ENABLE=true
# Arguments to hidd
HIDD_OPTIONS=""
# Run hid2hci (allowed values are "true" and "false")
HID2HCI_ENABLE=true

View File

@ -36,6 +36,7 @@ PAND_ENABLE=false
HCID_CONFIG="/etc/bluetooth/hcid.conf"
RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"
HIDD_OPTIONS=""
DUND_OPTIONS=""
PAND_OPTIONS=""
@ -53,11 +54,11 @@ case "$1" in
echo -n " $SDPD_NAME"
fi
if $HIDD_ENABLE && [ -x "$HIDD_EXEC" ] ; then
$HIDD_EXEC --tohci
$HIDD_EXEC $HIDD_OPTIONS
echo -n " $HIDD_NAME"
fi
if $HID2HCI_ENABLE && [ -x "$HID2HCI_EXEC" ] ; then
$HID2HCI_EXEC
$HID2HCI_EXEC --tohci
echo -n " $HID2HCI_NAME"
fi
if $RFCOMM_ENABLE && [ -x "$RFCOMM_EXEC" -a -f "$RFCOMM_CONFIG" ] ; then