diff options
author | Chirayu Desai <chirayudesai1@gmail.com> | 2014-11-30 19:51:48 +0530 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2014-11-30 14:35:40 +0000 |
commit | 28d97b964643bd191faf403eb8fd9f615d432cd9 (patch) | |
tree | b485af22ead3b5984394754397bd573be7b2aeb5 /rootdir | |
parent | f9fec8d1bdb4340fda83540ecb3f004c41bba40e (diff) |
init: Use a service for Wi-Fi MAC update
Change-Id: I57c5f0c6d8b243def6490a70cda71d5ad0cd9749
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.qcom.rc | 7 |
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 |