diff options
-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 |