From ee181e32b4ae641aad1b335b8280151d1eb5e0c7 Mon Sep 17 00:00:00 2001 From: RGIB Date: Fri, 9 Dec 2016 16:10:08 +0100 Subject: n5100 : fix dummy MAC Change-Id: I2f3b6856f02973289d7f45468b13e4d6a0c6be31 --- 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 3449bd8..911c6a2 100755 --- a/rootdir/init.target.rc +++ b/rootdir/init.target.rc @@ -10,14 +10,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 @@ -186,12 +194,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