diff options
author | John Klug <john.klug@multitech.com> | 2017-01-06 09:01:29 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2017-01-06 09:01:29 -0600 |
commit | 366999777621dede38c49b2f67de7b0d810b2764 (patch) | |
tree | de6dbeb2deae0cc988cef05c0f6e91a4ea44dd24 | |
parent | 6fdb632e17e3b4ef01be73eb24b7a2d80d0154d4 (diff) | |
download | meta-mlinux-366999777621dede38c49b2f67de7b0d810b2764.tar.gz meta-mlinux-366999777621dede38c49b2f67de7b0d810b2764.tar.bz2 meta-mlinux-366999777621dede38c49b2f67de7b0d810b2764.zip |
Add flag to start gpsd
-rwxr-xr-x | recipes-navigation/gpsd/gpsd/gpsd | 3 | ||||
-rw-r--r-- | recipes-navigation/gpsd/gpsd/gpsd-default | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/recipes-navigation/gpsd/gpsd/gpsd b/recipes-navigation/gpsd/gpsd/gpsd index c08be9b..c0e4c2b 100755 --- a/recipes-navigation/gpsd/gpsd/gpsd +++ b/recipes-navigation/gpsd/gpsd/gpsd @@ -48,6 +48,9 @@ fi # do_start() { + if ((GPSD_NOSTART != 0)) ; then + exit 0 + fi # Return # 0 if daemon has been started # 1 if daemon was already running diff --git a/recipes-navigation/gpsd/gpsd/gpsd-default b/recipes-navigation/gpsd/gpsd/gpsd-default index fe8576a..61ca995 100644 --- a/recipes-navigation/gpsd/gpsd/gpsd-default +++ b/recipes-navigation/gpsd/gpsd/gpsd-default @@ -4,3 +4,5 @@ GPSD_OPTIONS="-n -D 1" # Conduit 0.1 GPS devices GPS_DEVICES="/dev/ttyXRUSB2 /dev/pps0" + +GPSD_NOSTART=0 |