mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
reticulum - Updated et-reticulum to restrict the list of radio modem options based on the interfaces defined in the blueprint.
This commit is contained in:
@@ -84,9 +84,17 @@ if [[ $? -eq 0 ]]; then
|
|||||||
et-log "Radio connected and detected."
|
et-log "Radio connected and detected."
|
||||||
|
|
||||||
modem_options=()
|
modem_options=()
|
||||||
|
|
||||||
|
HAS_PACKET_CONFIG=`grep AX25KISSInterface ~/.reticulum/config`
|
||||||
|
if [[ $? -eq 0 ]]; then
|
||||||
modem_options+=("1200-packet" "1200 baud packet (VHF/UHF)")
|
modem_options+=("1200-packet" "1200 baud packet (VHF/UHF)")
|
||||||
modem_options+=("300-packet" "300 baud packet (HF)")
|
modem_options+=("300-packet" "300 baud packet (HF)")
|
||||||
|
fi
|
||||||
|
|
||||||
|
HAS_MODEM73_CONFIG=`grep Modem73Interface ~/.reticulum/config`
|
||||||
|
if [[ $? -eq 0 ]]; then
|
||||||
modem_options+=("modem73-default" "modem73 (HF/VHF/UHF)")
|
modem_options+=("modem73-default" "modem73 (HF/VHF/UHF)")
|
||||||
|
fi
|
||||||
|
|
||||||
modem_choice=$(dialog \
|
modem_choice=$(dialog \
|
||||||
--clear \
|
--clear \
|
||||||
|
|||||||
Reference in New Issue
Block a user