Fix getting LAT/LON from piaware .env file

This commit is contained in:
Matthias Wirth 2019-03-29 20:55:47 +01:00
parent a654c60d65
commit 91f3c3ce67

View file

@ -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 \