mirror of
https://github.com/smittix/intercept.git
synced 2026-04-23 22:30:00 -07:00
Fix radiosonde false 'missing' report at end of setup
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.
This commit is contained in:
6
setup.sh
6
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
|
||||
|
||||
Reference in New Issue
Block a user