reticulum - Fixed a bug resulting in a premature exit if an et-radio device is connected, but the configuration does not use the radio interface. For example, DigiRig Lite connected, but RNode blueprint selected.

This commit is contained in:
thetechprepper
2026-07-21 16:57:18 -07:00
parent 6095aa4ffa
commit 7ef268d3d1
+14 -17
View File
@@ -2,7 +2,7 @@
# #
# Author : Gaston Gonzalez # Author : Gaston Gonzalez
# Date : 12 May 2026 # Date : 12 May 2026
# Updated : 17 July 2026 # Updated : 21 July 2026
# Purpose : Wrapper script for starting Reticulum with PnP support # Purpose : Wrapper script for starting Reticulum with PnP support
# #
# Preconditions: # Preconditions:
@@ -117,22 +117,22 @@ if [[ $? -eq 0 ]]; then
# version 1.9.9. Disabling these options from the UI for now. # version 1.9.9. Disabling these options from the UI for now.
#modem_options+=("mercury-balanced" "Balanced (Reliability and Speed) [DATAC17]") #modem_options+=("mercury-balanced" "Balanced (Reliability and Speed) [DATAC17]")
#modem_options+=("mercury-fast" "Fast (Low Reliability) [QAM16C2]") #modem_options+=("mercury-fast" "Fast (Low Reliability) [QAM16C2]")
fi
modem_choice=$(dialog \ modem_choice=$(dialog \
--clear \ --clear \
--title "Reticulum Configuration" \ --title "Reticulum Configuration" \
--menu "Select a modem" \ --menu "Select a modem" \
13 70 10 \ 13 70 10 \
"${modem_options[@]}" \ "${modem_options[@]}" \
2>&1 >/dev/tty) 2>&1 >/dev/tty)
EXIT_STATUS=$? EXIT_STATUS=$?
tput sgr0 && clear tput sgr0 && clear
if [[ ${EXIT_STATUS} -ne 0 ]]; then if [[ ${EXIT_STATUS} -ne 0 ]]; then
et-log "No modem selected" et-log "No Mercuy modem selected"
exit ${EXIT_STATUS} exit ${EXIT_STATUS}
fi
fi fi
dialog \ dialog \
@@ -188,9 +188,6 @@ if [[ $? -eq 0 ]]; then
et-log "Starting mercury in fast mode" et-log "Starting mercury in fast mode"
start_and_wait_for_service et-service-mercury-fast start_and_wait_for_service et-service-mercury-fast
;; ;;
*)
et-log "No modem specified"
;;
esac esac
fi fi
fi fi