summaryrefslogtreecommitdiff
path: root/init.mako.rc
diff options
context:
space:
mode:
Diffstat (limited to 'init.mako.rc')
-rw-r--r--init.mako.rc8
1 files changed, 7 insertions, 1 deletions
diff --git a/init.mako.rc b/init.mako.rc
index a0ba297..4c0a26b 100644
--- a/init.mako.rc
+++ b/init.mako.rc
@@ -312,13 +312,19 @@ service rmt_storage /system/bin/rmt_storage
class main
user root
-service hciattach /system/bin/sh /system/etc/init.qcom.bt.sh
+service hciattach /system/bin/sh /system/etc/init.mako.bt.sh
class late_start
user bluetooth
group qcom_oncrpc bluetooth net_bt_admin system
disabled
oneshot
+on property:bluetooth.hciattach=true
+ start hciattach
+
+on property:bluetooth.hciattach=false
+ write /sys/module/hci_smd/parameters/hcismd_set 0
+
service bridgemgrd /system/bin/bridgemgrd
class main
user radio