From 7f4455070df2363d1f1c9ffbd8c230d8b9579bb0 Mon Sep 17 00:00:00 2001 From: RGIB Date: Fri, 9 Dec 2016 16:11:27 +0100 Subject: n5110 : fix dummy MAC Change-Id: Ic796d1709498da28c28fc8b51896e0765205a6c4 --- rootdir/init.target.rc | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc index 5963187..c449917 100755 --- a/rootdir/init.target.rc +++ b/rootdir/init.target.rc @@ -8,14 +8,22 @@ on init export VIBE_PIPE_PATH /dev/pipes mkdir /dev/pipes 0771 shell shell +# macloader + + rm /data/.cid.info + + chown system system /efs/wifi/.mac.cob + chown system system /efs/wifi/.mac.info + + chmod 0666 /efs/wifi/.mac.cob + chmod 0666 /efs/wifi/.mac.info + + copy /efs/wifi/.mac.cob /efs/wifi/.mac.info + ############################ on post-fs-data ############################ -# wifi - write /data/.cid.info 0 - restorecon /data/.cid.info - # GPS chown root system /dev/ttySAC1 chmod 0660 /dev/ttySAC1 @@ -184,12 +192,6 @@ on boot chown system system /sys/class/sec/sec_epen/epen_saving_mode chmod 660 /sys/class/sec/sec_epen/epen_saving_mode -on property:init.svc.macloader=stopped - chown system root /data/.cid.info - chmod 0664 /data/.cid.info - chown system root /data/.rev - chmod 0660 /data/.rev - # SISO-ANDR_PERF :: START Changing scheduler to cfq and reseting cpu min freq to -1 after boot complete on property:sys.boot_completed=1 write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor pegasusq -- cgit v1.1