From d75e428bbcf1445cd95787bfca0392457db4af54 Mon Sep 17 00:00:00 2001 From: kx1t Date: Thu, 30 Mar 2023 13:28:54 -0400 Subject: [PATCH] bug fix --- rootfs/etc/services.d/readsb/run | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/rootfs/etc/services.d/readsb/run b/rootfs/etc/services.d/readsb/run index 0f39a93..77f014e 100644 --- a/rootfs/etc/services.d/readsb/run +++ b/rootfs/etc/services.d/readsb/run @@ -45,24 +45,6 @@ then READSB_CMD+=("--net-connector=localhost,${MLATHUB_BEAST_REDUCE_OUT_PORT:-31006},beast_in") fi -if MLAT clients have been defined: -# parse MLAT_CONFIG string into mlat_configs array -# note - it's OK for MLAT_CONFIG to be empty or unset -readarray -td ";" mlat_configs < <(printf '%s' "${MLAT_CONFIG// /}") -# Now loop through the MLAT_CONFIG items and add a net-connector for each of them: -for instance in "${mlat_configs[@]}" -do - # shellcheck disable=SC2015 - [[ -z "${instance}" ]] && continue || true - # put individual params into the $params array: - readarray -td "," params < <(printf '%s' "${instance}") - - if [[ -n "${params[2]}" ]] - then - READSB_CMD+=("--net-connector=localhost,${params[2]},beast_in") - fi -done - READSB_CMD+=("--write-json=/run/readsb") READSB_CMD+=("--heatmap-dir=/var/globe_history") READSB_CMD+=("--heatmap=15")