aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-10-13 19:16:57 +0200
committerRGIB <gibellini.roberto@gmail.com>2016-10-13 19:16:57 +0200
commit157d6f830ad3e6f3fdf306df8db762896ec64517 (patch)
treedec89d91c210bde317bb0d6e91c4b7bb0022bff9
parentdc9fb986bffa2cce294b4d02fb8a40e875bdb4bd (diff)
downloaddevice_samsung_n5100-157d6f830ad3e6f3fdf306df8db762896ec64517.zip
device_samsung_n5100-157d6f830ad3e6f3fdf306df8db762896ec64517.tar.gz
device_samsung_n5100-157d6f830ad3e6f3fdf306df8db762896ec64517.tar.bz2
n5100 : fixes for geomagneticd
Change-Id: I05b8e71fa50e1bfc38a4d634e04fdce11afbae2b
-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