1
0
Fork 0
mirror of https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git synced 2024-10-16 13:50:46 +00:00
This commit is contained in:
kx1t 2024-03-29 17:33:33 -04:00 committed by GitHub
parent 11969ae627
commit ef95e1eff5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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")