aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir')
-rwxr-xr-xrootdir/init.target.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc
index 399f737..3449bd8 100755
--- a/rootdir/init.target.rc
+++ b/rootdir/init.target.rc
@@ -169,6 +169,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