mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2025-04-17 11:56:23 +02:00
no need to write state when tar1090_disable
This commit is contained in:
parent
6261ab8470
commit
449678b4cb
1 changed files with 5 additions and 5 deletions
|
@ -76,8 +76,10 @@ if [ -n "${UUID}" ]; then
|
|||
fi
|
||||
|
||||
READSB_CMD+=("--write-json=/run/readsb")
|
||||
READSB_CMD+=("--write-state=/var/globe_history")
|
||||
READSB_CMD+=("--json-trace-interval=15")
|
||||
# no need to write state when tar1090_disable is used for a minimal setup
|
||||
if ! chk_enabled "${TAR1090_DISABLE}"; then
|
||||
READSB_CMD+=("--write-state=/var/globe_history")
|
||||
fi
|
||||
READSB_CMD+=("--json-reliable=1")
|
||||
READSB_CMD+=("--net-json-port=30047")
|
||||
READSB_CMD+=("--net-ri-port=30001")
|
||||
|
@ -202,9 +204,7 @@ if [[ -n "$READSB_NET_BEAST_REDUCE_FILTER_DIST" ]]; then
|
|||
READSB_CMD+=("--net-beast-reduce-filter-dist=$READSB_NET_BEAST_REDUCE_FILTER_DIST")
|
||||
fi
|
||||
|
||||
if [[ -n "$READSB_JSON_TRACE_INTERVAL" ]]; then
|
||||
READSB_CMD+=("--json-trace-interval=$READSB_JSON_TRACE_INTERVAL")
|
||||
fi
|
||||
READSB_CMD+=("--json-trace-interval=${READSB_JSON_TRACE_INTERVAL:-15}")
|
||||
|
||||
if [[ -n "$READSB_NET_BEAST_REDUCE_FILTER_ALT" ]]; then
|
||||
READSB_CMD+=("--net-beast-reduce-filter-alt=$READSB_NET_BEAST_REDUCE_FILTER_ALT")
|
||||
|
|
Loading…
Add table
Reference in a new issue