mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-28 16:50:10 +00:00
bug and linting fix
This commit is contained in:
parent
ad94959060
commit
d1ce5948a1
2 changed files with 2 additions and 1 deletions
|
@ -35,6 +35,7 @@ readarray -td ";" mlat_configs < <(printf '%s' "${MLAT_CONFIG// /}")
|
||||||
mlat_result_sources=0
|
mlat_result_sources=0
|
||||||
for instance in "${mlat_configs[@]}"
|
for instance in "${mlat_configs[@]}"
|
||||||
do
|
do
|
||||||
|
# shellcheck disable=SC2015
|
||||||
[[ -z "${instance}" ]] && continue || true
|
[[ -z "${instance}" ]] && continue || true
|
||||||
# put individual params into the $params array:
|
# put individual params into the $params array:
|
||||||
readarray -td "," params < <(printf '%s' "${instance}")
|
readarray -td "," params < <(printf '%s' "${instance}")
|
||||||
|
|
|
@ -111,7 +111,7 @@ fi
|
||||||
##### NETWORK OPTIONS #####
|
##### NETWORK OPTIONS #####
|
||||||
#
|
#
|
||||||
|
|
||||||
READSB_CMD+=("--net-api-port=${READSB_NET_API_PORT:-30152")
|
READSB_CMD+=("--net-api-port=${READSB_NET_API_PORT:-30152}")
|
||||||
|
|
||||||
# Handle "--net-beast-reduce-interval=<seconds>"
|
# Handle "--net-beast-reduce-interval=<seconds>"
|
||||||
if [[ -n "$READSB_NET_BEAST_REDUCE_INTERVAL" ]]; then
|
if [[ -n "$READSB_NET_BEAST_REDUCE_INTERVAL" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue