From 7714af5a22b42095785121c17dd4b3c8bdd30ca2 Mon Sep 17 00:00:00 2001 From: Daniel Bateman Date: Thu, 15 Mar 2012 22:17:30 -0500 Subject: aries-common: allow for GPS init modularity --- init.aries.gps.rc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 init.aries.gps.rc (limited to 'init.aries.gps.rc') 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 -- cgit v1.1