diff options
author | davidevinavil <davidevinavil@gmail.com> | 2017-01-28 23:50:06 +0100 |
---|---|---|
committer | davidevinavil <davidevinavil@gmail.com> | 2017-01-29 00:43:48 +0100 |
commit | 6c1c200387e2cd7808ce674c6bed0aaf000b1c9f (patch) | |
tree | a452ff889331d1db24762a0869f014461c3ea0e3 /rootdir | |
parent | 383eabacae4e4e74d32fd415c26db134964b2fb3 (diff) |
z2_plus: Fix mac address
* Let's ensure that wlan_mac.bin exists in persist partition and
is valid, otherwise WiFi MAC address is randomized on every boot
because qca_cld can't properly read it
Change-Id: I82d66b84104802eaa1becdc72a1aec5fd185e5fa
Diffstat (limited to 'rootdir')
-rwxr-xr-x | rootdir/init.qcom.rc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 2905309..14f4d73 100755 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -612,6 +612,12 @@ on property:init.svc.zygote=running on property:init.svc.zygote=restarting stop ppd +service readmac /system/bin/readmac + class main + user root + group root + oneshot + service energy-awareness /system/bin/energy-awareness class main user root |