diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2004-05-07 22:04:27 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2004-05-07 22:04:27 +0000 |
commit | 7b058edb0e54176809bfcce6567c82cb608029ba (patch) | |
tree | 9b180e0d04e0e5b0f40bf990ff160ec90f7f6c11 /scripts | |
parent | 46db4df8662288a5282f52fe29d522142c021444 (diff) |
Allow options for hidd
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/bluetooth.default | 3 | ||||
-rw-r--r-- | scripts/bluetooth.init | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/scripts/bluetooth.default b/scripts/bluetooth.default index d96342c6..4817d38c 100644 --- a/scripts/bluetooth.default +++ b/scripts/bluetooth.default @@ -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 diff --git a/scripts/bluetooth.init b/scripts/bluetooth.init index d0b053cf..85d3a32e 100644 --- a/scripts/bluetooth.init +++ b/scripts/bluetooth.init @@ -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 |