From 2d65c4efbfffc87d9d25cf828ca82d287279a348 Mon Sep 17 00:00:00 2001 From: James Smith Date: Fri, 20 Mar 2026 13:53:50 +0000 Subject: [PATCH] Fix radiosonde false 'missing' report at end of setup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit check_tools() was using cmd_exists on 'auto_rx.py' which fails because it's never in PATH — installed to /opt/radiosonde_auto_rx/. Now uses the same file-based check as tool_is_installed(), consistent with health check and status view. --- setup.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index fdd223c..bd16d15 100755 --- a/setup.sh +++ b/setup.sh @@ -438,7 +438,11 @@ check_tools() { check_optional "dumpvdl2" "VDL2 decoder" dumpvdl2 check_required "AIS-catcher" "AIS vessel decoder" AIS-catcher aiscatcher check_optional "satdump" "Weather satellite decoder (NOAA/Meteor)" satdump - check_optional "auto_rx.py" "Radiosonde weather balloon decoder" auto_rx.py + if [[ -f /opt/radiosonde_auto_rx/auto_rx/auto_rx.py ]] && [[ -f /opt/radiosonde_auto_rx/auto_rx/dft_detect ]]; then + ok "auto_rx.py - Radiosonde weather balloon decoder" + else + warn "auto_rx.py - Radiosonde weather balloon decoder (missing, optional)" + fi echo info "GPS:" check_required "gpsd" "GPS daemon" gpsd