Merge pull request #36 from wiedehopf/lat_fix

Fix getting LAT/LON from piaware .env file
This commit is contained in:
Eric Tran 2019-03-29 16:54:09 -05:00 committed by GitHub
commit 0f2215c2ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 \