summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authortilaksidduram <tilaksidduram@gmail.com>2015-12-10 10:56:23 +0530
committertilaksidduram <tilaksidduram@gmail.com>2015-12-11 17:40:11 +0530
commit563a328793726c9b257f8b1937ee408d6357f6cd (patch)
treec12c2d506a37dbfd6b5241281c94b1d2cc528374 /rootdir
parent3c25dd2934efa5bcbb1d21aa6c15240807717668 (diff)
downloaddevice_samsung_n7100-563a328793726c9b257f8b1937ee408d6357f6cd.zip
device_samsung_n7100-563a328793726c9b257f8b1937ee408d6357f6cd.tar.gz
device_samsung_n7100-563a328793726c9b257f8b1937ee408d6357f6cd.tar.bz2
n7100: GPS updates
credits to Ivan Meler
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.target.rc15
1 files changed, 8 insertions, 7 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc
index 3e7ba2c..d98fe50 100644
--- a/rootdir/init.target.rc
+++ b/rootdir/init.target.rc
@@ -4,6 +4,14 @@ on init
export VIBE_PIPE_PATH /dev/pipes
mkdir /dev/pipes 0771 shell shell
+# GPS
+service gpsd /system/bin/gpsd -c /system/etc/gps.xml
+ class main
+ socket gps seqpacket 0660 gps system
+ user gps
+ group system inet sdcard_rw gps
+ ioprio be 0
+
on post-fs-data
chown radio system /sys/devices/platform/samsung-pd.5/s3c-fimc.2/range_mode
chmod 0660 /sys/devices/platform/samsung-pd.5/s3c-fimc.2/range_mode
@@ -32,10 +40,3 @@ service cpboot-daemon /sbin/cbd -d -p 10
class main
user root
group radio cache inet misc audio sdcard_rw log
-
-# GPS
-service gpsd /system/bin/gpsd -c /system/etc/gps.xml
- class main
- socket gps seqpacket 0660 gps system
- user gps
- group system inet sdcard_rw