aboutsummaryrefslogtreecommitdiff
path: root/rootdir/etc
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2019-05-15 17:27:36 +0200
committerDavide Garberi <dade.garberi@gmail.com>2019-05-15 21:03:03 +0200
commit8ab725708be1487d08637a854f524c31652d66ff (patch)
treebe9ea70c7cc7aec430d5ebd17fe7d30d2ba435ba /rootdir/etc
parentc271bea7e44ee98a72d0322193e420e337e47a66 (diff)
msm8996-common: Correct BT mac address with non zui blobs
Change-Id: Ibc6eed2018314e79f3f18749cedd9852c82a8a66
Diffstat (limited to 'rootdir/etc')
-rw-r--r--rootdir/etc/init.qcom.rc13
1 files changed, 13 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 66b14d4..b197f87 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -587,9 +587,22 @@ service wlan-sh /vendor/bin/init.wlan.sh
disabled
oneshot
+service bt-sh /vendor/bin/init.bt.sh
+ class late_start
+ user bluetooth
+ group bluetooth
+ disabled
+ oneshot
+
on property:sys.boot_completed=1
start wcg_mac_tool
start wlan-sh
+ start bt-sh
+
+on property:ro.vendor.bt.bdaddr_path=/data/vendor/bluetooth/bdaddr
+ # Correct perms for bdaddr
+ chmod 0644 /data/vendor/bluetooth/bdaddr
+ chown bluetooth bluetooth /data/vendor/bluetooth/bdaddr
on property:init.svc.vendor.hwcomposer-2-1=stopped
stop vendor.ppd