mirror of
https://github.com/smittix/intercept.git
synced 2026-07-24 08:58:09 -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:
@@ -438,7 +438,11 @@ check_tools() {
|
|||||||
check_optional "dumpvdl2" "VDL2 decoder" dumpvdl2
|
check_optional "dumpvdl2" "VDL2 decoder" dumpvdl2
|
||||||
check_required "AIS-catcher" "AIS vessel decoder" AIS-catcher aiscatcher
|
check_required "AIS-catcher" "AIS vessel decoder" AIS-catcher aiscatcher
|
||||||
check_optional "satdump" "Weather satellite decoder (NOAA/Meteor)" satdump
|
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
|
echo
|
||||||
info "GPS:"
|
info "GPS:"
|
||||||
check_required "gpsd" "GPS daemon" gpsd
|
check_required "gpsd" "GPS daemon" gpsd
|
||||||
|
|||||||
Reference in New Issue
Block a user