From 366999777621dede38c49b2f67de7b0d810b2764 Mon Sep 17 00:00:00 2001 From: John Klug Date: Fri, 6 Jan 2017 09:01:29 -0600 Subject: Add flag to start gpsd --- recipes-navigation/gpsd/gpsd/gpsd | 3 +++ recipes-navigation/gpsd/gpsd/gpsd-default | 2 ++ 2 files changed, 5 insertions(+) (limited to 'recipes-navigation') 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 -- cgit v1.2.3