aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-10-13 19:17:17 +0200
committerRGIB <gibellini.roberto@gmail.com>2016-10-13 19:20:04 +0200
commit1e8fafbaf9f5d76aaf1ff65348b2c0cc3ab31c25 (patch)
treeff1e23b15bf26dbb1cd875aafb6c46c0373b8f15
parenta5595519ad7a9520901f7ca5f1961f1f7247b58e (diff)
downloaddevice_samsung_n5110-1e8fafbaf9f5d76aaf1ff65348b2c0cc3ab31c25.zip
device_samsung_n5110-1e8fafbaf9f5d76aaf1ff65348b2c0cc3ab31c25.tar.gz
device_samsung_n5110-1e8fafbaf9f5d76aaf1ff65348b2c0cc3ab31c25.tar.bz2
n5110 : fixes for geomagneticd and wifi
Change-Id: Id7d97d68d8f5413f8641e20331e7ea7dceea5678
-rwxr-xr-xrootdir/init.target.rc8
1 files changed, 8 insertions, 0 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc
index 694d7b6..5963187 100755
--- a/rootdir/init.target.rc
+++ b/rootdir/init.target.rc
@@ -12,6 +12,10 @@ on init
on post-fs-data
############################
+# wifi
+ write /data/.cid.info 0
+ restorecon /data/.cid.info
+
# GPS
chown root system /dev/ttySAC1
chmod 0660 /dev/ttySAC1
@@ -163,6 +167,10 @@ on post-fs-data
# for wifi
mkdir /data/misc/wifi/sockets 0770 wifi wifi
+# geomagneticd
+ write /data/system/yas.cfg 0
+ write /data/system/yas-backup.cfg 0
+
restorecon /data/system/yas.cfg
restorecon /data/system/yas-backup.cfg
restorecon_recursive /data/system/gps