summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Tam <etam@google.com>2015-02-05 12:42:45 -0800
committerEd Tam <etam@google.com>2015-02-05 12:44:28 -0800
commitce91dfe1cc1382d3fd5d7d92af6a748586788eea (patch)
tree22f0c20b0e43fe7965ea22043178ed7112c289c0
parent95cd2d4ab35983e20601e40637bcf36971cd2b4f (diff)
downloadgrouper-lollipop-mr1-wfc-release.tar.gz
Bug: 19198033 Change-Id: I932dfad0baf77dec631641c5a6ca83139e60dd16
-rw-r--r--init.grouper.rc11
1 files changed, 6 insertions, 5 deletions
diff --git a/init.grouper.rc b/init.grouper.rc
index b4df6a6..3fdeda4 100644
--- a/init.grouper.rc
+++ b/init.grouper.rc
@@ -46,6 +46,11 @@ on post-fs-data
mkdir /data/calibration
mkdir /data/amit
+ # gps
+ mkdir /data/gps
+ chown gps system /data/gps
+ chmod 770 /data/gps
+
# Set indication (checked by vold) that we have finished this action
setprop vold.post_fs_data_done 1
@@ -289,9 +294,6 @@ on boot
write /sys/class/gpio/gpio162/direction out
chown gps system /sys/class/gpio/gpio162/value
chmod 0664 /sys/class/gpio/gpio162/value
- mkdir /data/gps
- chown gps system /data/gps
- chmod 770 /data/gps
chown gps system /dev/ttyHS1
chmod 0660 /dev/ttyHS1
@@ -395,8 +397,7 @@ service bugreport /system/bin/dumpstate -d -p -B \
keycodes 115 114
# Start GPS daemon
- on boot
- service gps-daemon /system/bin/glgps -c /system/etc/gps/gpsconfig.xml
+service gps-daemon /system/bin/glgps -c /system/etc/gps/gpsconfig.xml
user gps
group system
class late_start