aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-12-09 16:10:08 +0100
committerRGIB <gibellini.roberto@gmail.com>2016-12-09 16:10:08 +0100
commitee181e32b4ae641aad1b335b8280151d1eb5e0c7 (patch)
treee121d8c6ecc9c1c9f1d3e9c3fdee8bcbf55411a6
parente525d8d2fe1980ad6267726d4b6dbd3d7f7d0c61 (diff)
downloaddevice_samsung_n5100-ee181e32b4ae641aad1b335b8280151d1eb5e0c7.zip
device_samsung_n5100-ee181e32b4ae641aad1b335b8280151d1eb5e0c7.tar.gz
device_samsung_n5100-ee181e32b4ae641aad1b335b8280151d1eb5e0c7.tar.bz2
n5100 : fix dummy MAC
Change-Id: I2f3b6856f02973289d7f45468b13e4d6a0c6be31
-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 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