summaryrefslogtreecommitdiff
path: root/recipes-navigation/gpsd/gpsd/gpsd
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-navigation/gpsd/gpsd/gpsd')
-rwxr-xr-xrecipes-navigation/gpsd/gpsd/gpsd12
1 files changed, 6 insertions, 6 deletions
diff --git a/recipes-navigation/gpsd/gpsd/gpsd b/recipes-navigation/gpsd/gpsd/gpsd
index 95e2a84..3f93442 100755
--- a/recipes-navigation/gpsd/gpsd/gpsd
+++ b/recipes-navigation/gpsd/gpsd/gpsd
@@ -51,13 +51,13 @@ fi
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
-#if [ -z "$GPSD_SOCKET" ] && [ -z "$GPS_DEVICES" ]; then
-# GPSD_SOCKET=/var/run/gpsd.sock
-#fi
+if [ -z "$GPSD_SOCKET" ] && [ -z "$GPS_DEVICES" ]; then
+ GPSD_SOCKET=/var/run/gpsd.sock
+fi
-#if [ -n "$GPSD_SOCKET" ]; then
-# GPSD_OPTIONS="$GPSD_OPTIONS -F $GPSD_SOCKET"
-#fi
+if [ -n "$GPSD_SOCKET" ]; then
+ GPSD_OPTIONS="$GPSD_OPTIONS -F $GPSD_SOCKET"
+fi
#
# Function that starts the daemon/service