summaryrefslogtreecommitdiff
path: root/rootdir/etc
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir/etc')
-rw-r--r--rootdir/etc/init.qcom.rc9
1 files changed, 3 insertions, 6 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 3992976..9447ff1 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -321,6 +321,9 @@ on post-fs-data
# Create directory used by bluetooth subsystem
mkdir /data/vendor/bluetooth 2770 bluetooth bluetooth
+ # Set owner of macaddr node
+ chown system system /sys/devices/platform/bcmdhd_wlan/macaddr
+
# Provide the access to hostapd.conf only to root and group
chmod 0660 /data/hostapd/hostapd.conf
@@ -368,12 +371,6 @@ service qmuxd /vendor/bin/qmuxd
user root
group radio audio bluetooth gps nfc diag wakelock oem_2950
-# Wi-Fi and BT MAC addresses
-service macaddrsetup /vendor/bin/macaddrsetup /sys/devices/platform/bcmdhd_wlan/macaddr
- class late_start
- user root
- oneshot
-
service netmgrd /vendor/bin/netmgrd
class late_start
user root