mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-22 05:40:10 +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
|
fi
|
||||||
|
|
||||||
# Handle "--net-heartbeat=<rate>"
|
# Handle "--net-heartbeat=<rate>"
|
||||||
if [[ -n "${READSB_NET_HEARTBEAT:-30}" ]]; then
|
MLATHUB_CMD+=("--net-heartbeat=${READSB_NET_HEARTBEAT:-30}")
|
||||||
MLATHUB_CMD+=("--net-heartbeat=$READSB_NET_HEARTBEAT")
|
|
||||||
fi
|
|
||||||
|
|
||||||
if (( $(ps -o etimes= -p 1) < 30 ))
|
if (( $(ps -o etimes= -p 1) < 30 ))
|
||||||
then
|
then
|
||||||
|
|
|
@ -173,9 +173,7 @@ if [[ -n "$READSB_NET_CONNECTOR_DELAY" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Handle "--net-heartbeat=<rate>"
|
# Handle "--net-heartbeat=<rate>"
|
||||||
if [[ -n "$READSB_NET_HEARTBEAT" ]]; then
|
READSB_CMD+=("--net-heartbeat=${READSB_NET_HEARTBEAT:-30}")
|
||||||
READSB_CMD+=("--net-heartbeat=$READSB_NET_HEARTBEAT")
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Handle "--net-ri-port=<ports>"
|
# Handle "--net-ri-port=<ports>"
|
||||||
if [[ -n "$READSB_NET_RAW_INPUT_PORT" ]]; then
|
if [[ -n "$READSB_NET_RAW_INPUT_PORT" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue