Initial support for modem73

This commit is contained in:
thetechprepper
2026-06-28 11:03:20 -07:00
parent 18a917e9f6
commit 252c9b8fbc
3 changed files with 54 additions and 2 deletions
+44
View File
@@ -0,0 +1,44 @@
#!/bin/bash
# Author : Gaston Gonzalez
# Date : 28 June 2026
# Purpose : Installs modem73
set -e
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR
. ./env.sh
APP="modem73"
VERSION="1.0.7"
APP_AND_VERSION="${APP}-${VERSION}"
GIT_URL="https://github.com/thetechprepper/modem73.git"
GIT_WORKSPACE="modem73"
INSTALL_DIR="/opt/${APP_AND_VERSION}"
INSTALL_BIN_DIR="${INSTALL_DIR}/bin"
LINK_PATH="/opt/${APP}"
et-log "Installing ${APP} dependencies..."
apt install \
libncurses-dev \
-y
et-log "Installing ${APP} ${VERSION}"
CWD_DIR=`pwd`
cd ${ET_SRC_DIR}
[[ ! -e ${GIT_WORKSPACE} ]] && git clone ${GIT_URL} ${GIT_WORKSPACE}
cd ${GIT_WORKSPACE}
make
[[ ! -e "${INSTALL_BIN_DIR}" ]] && mkdir -v -p "${INSTALL_BIN_DIR}"
[[ -e "${APP}" ]] && cp ${APP} "${INSTALL_BIN_DIR}"
[[ -e ${LINK_PATH} ]] && rm ${LINK_PATH}
ln -v -s ${INSTALL_DIR} ${LINK_PATH}
stow -v -d /opt ${APP} -t /usr/local
cd ${CWD}
+3 -2
View File
@@ -2,7 +2,7 @@
#
# Author : Gaston Gonzalez
# Date : 16 March 2024
# Updated : 13 May 2026
# Updated : 28 June 2026
# Purpose : Main installer for EmComm Tools Community (ETC)
. ./env.sh
@@ -119,9 +119,10 @@ exitIfNotRoot
# Security Patches
./patch-copy-fail.sh
# Install Reticulum and related applications (NomadNet, MeshChat)
# Install Reticulum and related applications
./install-reticulum.sh
./install-meshchat.sh
./install-modem73.sh
# Debrand Ubuntu
./debrand.sh