aboutsummaryrefslogtreecommitdiff
path: root/rootdir/etc/init.qcom.rc
diff options
context:
space:
mode:
authorArian <arian.kulmer@web.de>2020-02-12 17:33:37 +0100
committerArian <arian.kulmer@web.de>2020-03-16 15:05:28 +0100
commitc8d4c0eb52180abb7876816eb86100f90a67e3a0 (patch)
tree97cbc2e773995821bb4291f1ffa8a2aef17c2d1a /rootdir/etc/init.qcom.rc
parent4714354752a4d59e8c547f02d71e97f59693bfb1 (diff)
shinano-common: Move macaddrsetup service declaration to its respective init.rc
Change-Id: Ic434c18314838f845bcdca5e029a127db0500070
Diffstat (limited to 'rootdir/etc/init.qcom.rc')
-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