From c6728231c9704500648bade75cd007a6b500b608 Mon Sep 17 00:00:00 2001 From: Srinu Jella Date: Fri, 8 Nov 2013 12:16:57 +0530 Subject: [PATCH] init: bluetooth: Remove unused BT services of Bluedorid stack Bluedroid stack doesn't use the dbus, bluetoothd services, so removing the those entries from init.qcom.rc CRs-fixed: 542168 Change-Id: I0dbdbc44a6cda7ab9306a4002464b6dcbb7b9d78 --- rootdir/etc/init.qcom.rc | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 0b9049b6..93add0b0 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -315,25 +315,6 @@ service config_bluetooth /system/bin/sh /system/etc/init.qcom.bt.sh "onboot" user root oneshot -service dbus /system/bin/dbus-daemon --system --nofork - class main - socket dbus stream 660 bluetooth bluetooth - user bluetooth - group bluetooth net_bt_admin - disabled - -on property:ro.qc.bluetooth.stack=bluez - start dbus - -service bluetoothd /system/bin/logwrapper /system/bin/bluetoothd -n - class main - socket bluetooth stream 660 bluetooth bluetooth - socket dbus_bluetooth stream 660 bluetooth bluetooth - # init.rc does not yet support applying capabilities, so run as root and - # let bluetoothd drop uid to bluetooth with the right linux capabilities - group bluetooth net_bt_admin misc net_bt_stack - disabled - service hciattach /system/bin/sh /system/etc/init.qcom.bt.sh class late_start user bluetooth