Merge pull request #36 from wiedehopf/lat_fix
Fix getting LAT/LON from piaware .env file
This commit is contained in:
commit
0f2215c2ce
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