mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-22 05:40:10 +00:00
bug fix
This commit is contained in:
parent
11969ae627
commit
ef95e1eff5
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ READSB_CMD+=("--net-sbs-in-port=32006")
|
||||||
# Handle a bunch of custom port assignments:
|
# Handle a bunch of custom port assignments:
|
||||||
#
|
#
|
||||||
# net-bi-port is 30004,30104,${READSB_NET_BEAST_INPUT_PORT}
|
# net-bi-port is 30004,30104,${READSB_NET_BEAST_INPUT_PORT}
|
||||||
ports="${READSB_NET_BEAST_INPUT_PORT}${READSB_NET_BEAST_INPUT_PORT:+,}30004,20104"
|
ports="${READSB_NET_BEAST_INPUT_PORT}${READSB_NET_BEAST_INPUT_PORT:+,}30004,30104"
|
||||||
ports="$(sort -nu <<< "${ports//,/$'\n'}" | sed -z 's/\n/,/g;s/^,//g;s/,$//g')" # de-duplication
|
ports="$(sort -nu <<< "${ports//,/$'\n'}" | sed -z 's/\n/,/g;s/^,//g;s/,$//g')" # de-duplication
|
||||||
READSB_CMD+=("--net-bi-port=$ports")
|
READSB_CMD+=("--net-bi-port=$ports")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue