aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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