diff options
author | Simon Shields <keepcalm444@gmail.com> | 2015-12-10 10:42:34 +1100 |
---|---|---|
committer | Simon Shields <keepcalm444@gmail.com> | 2015-12-11 10:58:01 +1100 |
commit | 0f6eaf519939d51b7d2c3018047b1bcabc73fa06 (patch) | |
tree | 2279b5262aeef00ba0e7dbab0941ac3001cc16af | |
parent | 8d8ac23e55c865ce1d8f245f4ddea27792667688 (diff) | |
download | device_samsung_i9300-0f6eaf519939d51b7d2c3018047b1bcabc73fa06.zip device_samsung_i9300-0f6eaf519939d51b7d2c3018047b1bcabc73fa06.tar.gz device_samsung_i9300-0f6eaf519939d51b7d2c3018047b1bcabc73fa06.tar.bz2 |
i9300: use sh to run gps_daemon and fix config location
one does not simply exec a shell script
Change-Id: I538f28b2ccd80b39fd6e84dedcb2554a215c94ea
-rw-r--r-- | gps_daemon.sh | 2 | ||||
-rw-r--r-- | 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 |