aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rootdir/init.qcom.rc7
1 files changed, 6 insertions, 1 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index bbc930a..ca153bb 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -294,7 +294,6 @@ on post-fs-data
# Update WIFI MAC address
mkdir /data/misc/wifi/prima 0775 wifi wifi
- exec /system/bin/mac-update
mkdir /data/credmgr 0700 system system
mkdir /data/tombstones 0755 system system
@@ -403,6 +402,12 @@ on charger
on property:init.svc.wpa_supplicant=stopped
stop dhcpcd
+# Update Wi-Fi MAC address
+service mac-update /system/bin/mac-update
+ class late_start
+ user wifi
+ oneshot
+
# QMUX must be in multiple groups to support external process connections
service qmuxd /system/bin/qmuxd
class main