mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-12-23 21:02:01 +00:00
fix net_heartbeat
This commit is contained in:
parent
d70e415d11
commit
9fdd553ec4
2 changed files with 3 additions and 6 deletions
|
@ -96,9 +96,8 @@ if [[ -n "$READSB_NET_CONNECTOR_DELAY" ]]; then
|
|||
fi
|
||||
|
||||
# Handle "--net-heartbeat=<rate>"
|
||||
if [[ -n "${READSB_NET_HEARTBEAT:-30}" ]]; then
|
||||
MLATHUB_CMD+=("--net-heartbeat=$READSB_NET_HEARTBEAT")
|
||||
fi
|
||||
MLATHUB_CMD+=("--net-heartbeat=${READSB_NET_HEARTBEAT:-30}")
|
||||
|
||||
|
||||
if (( $(ps -o etimes= -p 1) < 30 ))
|
||||
then
|
||||
|
|
|
@ -173,9 +173,7 @@ if [[ -n "$READSB_NET_CONNECTOR_DELAY" ]]; then
|
|||
fi
|
||||
|
||||
# Handle "--net-heartbeat=<rate>"
|
||||
if [[ -n "$READSB_NET_HEARTBEAT" ]]; then
|
||||
READSB_CMD+=("--net-heartbeat=$READSB_NET_HEARTBEAT")
|
||||
fi
|
||||
READSB_CMD+=("--net-heartbeat=${READSB_NET_HEARTBEAT:-30}")
|
||||
|
||||
# Handle "--net-ri-port=<ports>"
|
||||
if [[ -n "$READSB_NET_RAW_INPUT_PORT" ]]; then
|
||||
|
|
Loading…
Reference in a new issue