diff --git a/TODO.md b/TODO.md index f9490c6..7d4be29 100644 --- a/TODO.md +++ b/TODO.md @@ -1,10 +1,12 @@ # To-Do * [ ] Add Reticulum - * [ ] Add rnsd systemd service (user) - * [ ] Add nomadnet systemd service (user) - * [ ] Add et-mode with encryption warning - * [ ] Add support for Bluetooth devices + * [ ] Add solution for handling first start + * [ ] et-user-backup + * [ ] ~/.reticulum/storage/identities + * [ ] ~/.nomadnetwork/storage + * [ ] Add PnP support for LoRa devices + * [ ] Add support for Bluetooth devices (et-uv-pro) * [ ] et-mail * [ ] et-debug * [ ] et-index diff --git a/overlay/opt/emcomm-tools/bin/et-reticulum b/overlay/opt/emcomm-tools/bin/et-reticulum index 9ffbe10..d5c94bc 100755 --- a/overlay/opt/emcomm-tools/bin/et-reticulum +++ b/overlay/opt/emcomm-tools/bin/et-reticulum @@ -2,6 +2,7 @@ # # Author : Gaston Gonzalez # Date : 12 May 2026 +# Updated : 13 May 2026 # Purpose : Wrapper script for starting Reticulum with PnP support # # Preconditions: @@ -14,7 +15,8 @@ . /opt/emcomm-tools/bin/et-common APP="Reticulum" -RETICULUM_CONF_FILE="${HOME}/.reticulum/config" +RETICULUM_CONF_DIR="${HOME}/.reticulum" +RETICULUM_CONF_FILE="${RETICULUM_CONF_DIR}/config" usage() { echo "usage: $(basename $0) " @@ -49,6 +51,11 @@ case "${MODE}" in ;; esac +if [[ ! -e "${RETICULUM_CONF_DIR}" ]]; then + et-log "Creating missing configuration directory: ${RETICULUM_CONF_DIR}" + mkdir -p "${RETICULUM_CONF_DIR}" +fi + if [[ ! -e "${RETICULUM_TEMPLATE_CONF_FILE}" ]]; then et-log "${RETICULUM_TEMPLATE_CONF_FILE} does not exist. Exiting." notify-user "Config file does not exist. Can't start Reticulum."