Fix getting LAT/LON from piaware .env file
This commit is contained in:
parent
a654c60d65
commit
91f3c3ce67
4
debian/start-dump1090-fa
vendored
4
debian/start-dump1090-fa
vendored
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue