From 91f3c3ce67bba11c2a1812854371dab1d72e5a5a Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Fri, 29 Mar 2019 20:55:47 +0100 Subject: [PATCH] Fix getting LAT/LON from piaware .env file --- debian/start-dump1090-fa | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/start-dump1090-fa b/debian/start-dump1090-fa index 907e437..37186fe 100755 --- a/debian/start-dump1090-fa +++ b/debian/start-dump1090-fa @@ -21,9 +21,9 @@ then exit 64 fi -if [ -n "$LAT" -a -n "$LON" ] +if [ -n "$PIAWARE_LAT" -a -n "$PIAWARE_LON" ] then - POSITION="--lat $LAT --lon $LON" + POSITION="--lat $PIAWARE_LAT --lon $PIAWARE_LON" fi exec /usr/bin/dump1090-fa \