summaryrefslogtreecommitdiffstats
path: root/scripts/bluetooth.init
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-14 00:49:29 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-14 00:49:29 +0000
commite13a5a7590fe4cd454bd524463243a99d94cc9ef (patch)
tree991a07f29d2d96e7d1520421a81eb05953c47189 /scripts/bluetooth.init
parentfa70fc6dfb0912b116aabdd39436a8b0be55123e (diff)
Use SDP server included in hcid
Diffstat (limited to 'scripts/bluetooth.init')
-rw-r--r--scripts/bluetooth.init10
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/bluetooth.init b/scripts/bluetooth.init
index fad223fd..f1bf358f 100644
--- a/scripts/bluetooth.init
+++ b/scripts/bluetooth.init
@@ -26,10 +26,10 @@ PAND_EXEC="`which $PAND_NAME || true`"
DUND_EXEC="`which $DUND_NAME || true`"
HCID_ENABLE=true
-SDPD_ENABLE=true
+SDPD_ENABLE=false
HIDD_ENABLE=false
HID2HCI_ENABLE=false
-RFCOMM_ENABLE=true
+RFCOMM_ENABLE=false
DUND_ENABLE=false
PAND_ENABLE=false
@@ -46,7 +46,11 @@ case "$1" in
start)
echo -n "Starting $DESC:"
if $HCID_ENABLE && [ -x "$HCID_EXEC" ] && [ -f "$HCID_CONFIG" ] ; then
- $HCID_EXEC -f $HCID_CONFIG
+ if $SDPD_ENABLE ; then
+ $HCID_EXEC -f $HCID_CONFIG
+ else
+ $HCID_EXEC -s -f $HCID_CONFIG
+ fi
echo -n " $HCID_NAME"
fi
if $SDPD_ENABLE && [ -x "$SDPD_EXEC" ] ; then