diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2021-08-10 09:54:11 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2021-08-12 15:53:09 -0700 |
commit | 056518c71263b8f17826f68e15d969526c1301ee (patch) | |
tree | ad3fccc464400093b84326ce63c3a550c86cd839 /net-wireless/dump1090/files/dump1090-5.0.confd | |
parent | dev-python/dns-lexicon: add github upstream metadata (diff) | |
download | gentoo-056518c71263b8f17826f68e15d969526c1301ee.tar.gz gentoo-056518c71263b8f17826f68e15d969526c1301ee.tar.bz2 gentoo-056518c71263b8f17826f68e15d969526c1301ee.zip |
net-wireless/dump1090: bump w/ improvements
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'net-wireless/dump1090/files/dump1090-5.0.confd')
-rw-r--r-- | net-wireless/dump1090/files/dump1090-5.0.confd | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-wireless/dump1090/files/dump1090-5.0.confd b/net-wireless/dump1090/files/dump1090-5.0.confd new file mode 100644 index 000000000000..3350294ae8c0 --- /dev/null +++ b/net-wireless/dump1090/files/dump1090-5.0.confd @@ -0,0 +1,20 @@ +# These variable names are chose to be as close as possible to the upstream & Debian options. +RECEIVER_OPTIONS="--device-index 0 --gain -10 --ppm 0" +DECODER_OPTIONS="--max-range 360 --fix" +NET_OPTIONS="--net --net-heartbeat 60 --net-ro-size 1300 --net-ro-interval 0.2 --net-ri-port 0 --net-ro-port 30002 --net-sbs-port 30003 --net-bi-port 30004,30104 --net-bo-port 30005" +JSON_OPTIONS="--json-location-accuracy 1 --write-json /run/dump1090/" + +# See README.md for custom wisdom, or use one of the bundled wisdom files +WISDOM_FILE= +[ -f /etc/dump1090-fa/wisdom.local ] && WISDOM_FILE=/etc/dump1090-fa/wisdom.local + +# Optional, populate these with your location +#PIAWARE_LAT= +#PIAWARE_LON= +# Or populate file /var/cache/piaware/location.env +[ -f /var/cache/piaware/location.env ] && source /var/cache/piaware/location.env + +if [ -n "$PIAWARE_LAT" -a -n "$PIAWARE_LON" ] +then + POSITION="--lat $PIAWARE_LAT --lon $PIAWARE_LON" +fi |