From 0f6eaf519939d51b7d2c3018047b1bcabc73fa06 Mon Sep 17 00:00:00 2001 From: Simon Shields Date: Thu, 10 Dec 2015 10:42:34 +1100 Subject: i9300: use sh to run gps_daemon and fix config location one does not simply exec a shell script Change-Id: I538f28b2ccd80b39fd6e84dedcb2554a215c94ea --- gps_daemon.sh | 2 +- rootdir/init.target.rc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gps_daemon.sh b/gps_daemon.sh index b5c6f8b..7cd6b64 100644 --- a/gps_daemon.sh +++ b/gps_daemon.sh @@ -1,2 +1,2 @@ #shellscript as this is the only way selinux will allow this to proceed -/system/bin/glgps -c /system/etc/gps/gpsconfig.xml +/system/bin/glgps -c /system/etc/gps.xml diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc index ce6ae90..c267195 100644 --- a/rootdir/init.target.rc +++ b/rootdir/init.target.rc @@ -48,9 +48,9 @@ service cpboot-daemon /sbin/cbd -d # Start GPS daemon -service gps-daemon gps_daemon.sh +service gps-daemon /system/bin/sh /system/bin/gps_daemon.sh class main socket gps seqpacket 0660 gps system user gps - group system inet sdcard_rw + group system inet sdcard_rw gps seclabel u:r:glgps:s0 -- cgit v1.1