aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-12-09 16:11:27 +0100
committerRGIB <gibellini.roberto@gmail.com>2016-12-09 16:11:27 +0100
commit7f4455070df2363d1f1c9ffbd8c230d8b9579bb0 (patch)
tree3d7cb50565f8b51a81d687ae27c502dc8103bacb
parent718a37d543bd9f7781d7e84c2dd67615b9741108 (diff)
downloaddevice_samsung_n5110-7f4455070df2363d1f1c9ffbd8c230d8b9579bb0.zip
device_samsung_n5110-7f4455070df2363d1f1c9ffbd8c230d8b9579bb0.tar.gz
device_samsung_n5110-7f4455070df2363d1f1c9ffbd8c230d8b9579bb0.tar.bz2
n5110 : fix dummy MAC
Change-Id: Ic796d1709498da28c28fc8b51896e0765205a6c4
-rwxr-xr-xrootdir/init.target.rc22
1 files 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