aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 f3db5e0..c7caff5 100755
--- a/rootdir/init.target.rc
+++ b/rootdir/init.target.rc
@@ -19,6 +19,10 @@ on post-fs-data
# geomagneticd
write /data/system/yas.cfg 0
write /data/system/yas-backup.cfg 0
+ chown system input /data/system/yas.cfg
+ chown system input /data/system/yas-backup.cfg
+ chmod 0664 /data/system/yas.cfg
+ chmod 0664 /data/system/yas-backup.cfg
# gpsd
mkdir /data/system/gps 775 root root