aboutsummaryrefslogtreecommitdiff
path: root/rootdir/etc/init.qcom.rc
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir/etc/init.qcom.rc')
-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