diff options
author | John Klug <john.klug@multitech.com> | 2016-11-15 10:37:02 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2016-11-15 10:37:02 -0600 |
commit | 09ac0882fb7cf45168197dd206d9d0482fe5f4da (patch) | |
tree | 9d9c05c0a39b9e75929f60e6bf17a4aada3f0e1d /recipes-navigation/gpsd/gpsd | |
parent | fa9d9ac8939b1f123826bec3de08ce615137ecf4 (diff) | |
download | meta-mlinux-09ac0882fb7cf45168197dd206d9d0482fe5f4da.tar.gz meta-mlinux-09ac0882fb7cf45168197dd206d9d0482fe5f4da.tar.bz2 meta-mlinux-09ac0882fb7cf45168197dd206d9d0482fe5f4da.zip |
Add mts-io features to GPSD init.d script
Diffstat (limited to 'recipes-navigation/gpsd/gpsd')
-rw-r--r-- | recipes-navigation/gpsd/gpsd/Conduit.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-navigation/gpsd/gpsd/Conduit.patch b/recipes-navigation/gpsd/gpsd/Conduit.patch new file mode 100644 index 0000000..0fced15 --- /dev/null +++ b/recipes-navigation/gpsd/gpsd/Conduit.patch @@ -0,0 +1,14 @@ +diff -uprN old/gpsd new/gpsd +--- old/gpsd 2016-11-14 14:37:19.733762786 -0600 ++++ new/gpsd 2016-11-14 14:43:28.733762007 -0600 +@@ -93,6 +93,10 @@ do_reload() { + + case "$1" in + start) ++ if ! [[ -r /sys/devices/platform/mts-io/gnss-int ]] ; then ++ echo "No GPS available" ++ exit ++ fi + echo "Starting $DESC" "$NAME" + do_start + exit $? |