From 1e8fafbaf9f5d76aaf1ff65348b2c0cc3ab31c25 Mon Sep 17 00:00:00 2001 From: RGIB Date: Thu, 13 Oct 2016 19:17:17 +0200 Subject: n5110 : fixes for geomagneticd and wifi Change-Id: Id7d97d68d8f5413f8641e20331e7ea7dceea5678 --- rootdir/init.target.rc | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v1.1