diff options
-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 |