aboutsummaryrefslogtreecommitdiff
path: root/rootdir/etc
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2019-03-02 13:23:14 +0100
committerDavide Garberi <dade.garberi@gmail.com>2019-03-02 13:56:05 +0100
commit95f4617bec43046ca6d418b606175978eea22be2 (patch)
treeb9706466e41c6c85131d25696b7f7abf74c763ab /rootdir/etc
parent56a0d4e8bca5cb53407e9d615ed5566e87f34c2b (diff)
msm8996-common: Set the hardware wlan mac using wcg_mac_tool
* Bin extracted from ZUI * Add init.wlan.sh to check if the mac address in wlan_mac.bin is already correct, if not correct it * Run both the bins on boot completed as wcg can't run earlier * Label both the bins and address their denials Change-Id: I7a8001465ec9c3d69bd228efa57dddfdd8e3c6f3
Diffstat (limited to 'rootdir/etc')
-rw-r--r--rootdir/etc/init.qcom.rc18
1 files changed, 18 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index dc95d51..5d1e1ae 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -574,6 +574,24 @@ service vendor.ppd /vendor/bin/mm-pp-dpps
disabled
writepid /dev/cpuset/system-background/tasks
+service wcg_mac_tool /vendor/bin/wcg_mac_tool
+ class late_start
+ group root
+ user root
+ disabled
+ oneshot
+
+service wlan-sh /vendor/bin/init.wlan.sh
+ class late_start
+ user root
+ group root
+ disabled
+ oneshot
+
+on property:sys.boot_completed=1
+ start wcg_mac_tool
+ start wlan-sh
+
on property:init.svc.vendor.hwcomposer-2-1=stopped
stop vendor.ppd