Skip to content

Commit

Permalink
Temp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t authored Dec 9, 2023
1 parent 4296fb9 commit a2385d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rootfs/etc/s6-overlay/scripts/radar1090
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,11 @@ RADAR_BIN=(stdbuf -oL /usr/sbin/radar)

RADAR_CMD=()
RADAR_CMD+=("-k ${RADAR1090_KEY}")
RADAR_CMD+=("${RADARSERVER:+-h }${RADARSERVER}")
if (( $(bc -l <<< "$(awk -F- '{print $1}' < /.CONTAINER_VERSION) > 2.00") == 1 )); then
RADAR_CMD+=("${RADARSERVER:+-h }${RADARSERVER}")
else
RADAR_CMD+=("-h ${RADARSERVER:-adsb-in.1090mhz.uk}")
fi
RADAR_CMD+=("${HMAC_KEY:+-p }${HMAC_KEY}")
RADAR_CMD+=("-l ${beast_host}")
RADAR_CMD+=("-f")
Expand Down

0 comments on commit a2385d7

Please sign in to comment.