diff options
author | Daniel Bateman <jetison.24@gmail.com> | 2012-03-15 22:17:30 -0500 |
---|---|---|
committer | Daniel Bateman <jetison.24@gmail.com> | 2012-03-15 22:42:24 -0500 |
commit | 7714af5a22b42095785121c17dd4b3c8bdd30ca2 (patch) | |
tree | 00ff06af47cbad1fe4b26f93519c621a6e64bab1 /init.aries.gps.rc | |
parent | 1c60316d431000bf0fdc60b541ba216e497111cc (diff) | |
download | device_samsung_aries-common-7714af5a22b42095785121c17dd4b3c8bdd30ca2.zip device_samsung_aries-common-7714af5a22b42095785121c17dd4b3c8bdd30ca2.tar.gz device_samsung_aries-common-7714af5a22b42095785121c17dd4b3c8bdd30ca2.tar.bz2 |
aries-common: allow for GPS init modularity
Diffstat (limited to 'init.aries.gps.rc')
-rw-r--r-- | init.aries.gps.rc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/init.aries.gps.rc b/init.aries.gps.rc new file mode 100644 index 0000000..ec3ca2c --- /dev/null +++ b/init.aries.gps.rc @@ -0,0 +1,18 @@ +# +# init rc file for GPS: this is here to allow for devices +# to provide their own GPS initialization code without +# conflicting with the default GPS init. (i.e. Vibrant) +# + +service gpsd /system/vendor/bin/gpsd -c /vendor/etc/gps.xml + class late_start + socket gps seqpacket 0660 gps system + user gps + group system inet + +on post-fs-data + # create data/gps for GPS demon + mkdir /data/gps 700 gps system + chown gps system /data/gps + chown gps root /sys/class/sec/gps/GPS_PWR_EN/value + chmod 660 /sys/class/sec/gps/GPS_PWR_EN/value |