From 28d97b964643bd191faf403eb8fd9f615d432cd9 Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Sun, 30 Nov 2014 19:51:48 +0530 Subject: init: Use a service for Wi-Fi MAC update Change-Id: I57c5f0c6d8b243def6490a70cda71d5ad0cd9749 --- rootdir/init.qcom.rc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3