mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2025-04-01 21:29:35 +02:00
ultrafeeder config: add special casing for silent_fail
this makes the net connector parameter silent_fail functional
This commit is contained in:
parent
382760f67c
commit
e3bd4a451e
1 changed files with 6 additions and 2 deletions
|
@ -91,6 +91,8 @@ do
|
|||
do
|
||||
if [[ "${param[i]:0:5}" == "uuid=" ]]; then
|
||||
readsb_str="${readsb_str},${param[i]}"
|
||||
elif [[ "${param[i]}" == "silent_fail" ]]; then
|
||||
readsb_str="${readsb_str},${param[i]}"
|
||||
elif [[ -n "${param[i]}" ]]; then
|
||||
READSB_CONF_ARR+=("${param[i]}")
|
||||
fi
|
||||
|
@ -114,12 +116,14 @@ do
|
|||
for ((i=4; i<${#param[*]}; i++))
|
||||
do
|
||||
if [[ "${param[i]:0:5}" == "uuid=" ]]; then
|
||||
mlathub_str="${readsb_str},${param[i]}"
|
||||
mlathub_str="${mlathub_str},${param[i]}"
|
||||
elif [[ "${param[i]}" == "silent_fail" ]]; then
|
||||
mlathub_str="${mlathub_str},${param[i]}"
|
||||
elif [[ -n "${param[i]}" ]]; then
|
||||
MLATHUB_CONF_ARR+=("${param[i]}")
|
||||
fi
|
||||
done
|
||||
# Now add $readsb_str to the READSB_CONF_STR as --net-connector argument:
|
||||
# Now add $mlathub_str to the READSB_CONF_STR as --net-connector argument:
|
||||
MLATHUB_CONF_ARR+=("--net-connector=${mlathub_str}")
|
||||
;;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue