mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
BBS - Install BBS client. This is a work-in-progress (WiP), so the zero-configuration support and addition to et-mode (mode switcher) will come in a later release.
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
[Setup]
|
||||||
|
host = localhost
|
||||||
|
callsign = N0CALL
|
||||||
|
|
||||||
Executable
+43
@@ -0,0 +1,43 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Author : Gaston Gonzalez
|
||||||
|
# Date : 20 November 2024
|
||||||
|
# Purpose : Install BBS client (Paracon)
|
||||||
|
set -e
|
||||||
|
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
|
||||||
|
trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR
|
||||||
|
|
||||||
|
VERSION=1.1.0
|
||||||
|
DOWNLOAD_FILE=paracon_${VERSION}.pyz
|
||||||
|
|
||||||
|
BIN_FILE=paracon
|
||||||
|
INSTALL_DIR=/opt/paracon-${VERSION}
|
||||||
|
INSTALL_BIN_DIR="${INSTALL_DIR}/bin"
|
||||||
|
LINK_PATH=/opt/paracon
|
||||||
|
|
||||||
|
et-log "Installing BBS client dependencies..."
|
||||||
|
apt install \
|
||||||
|
python3 \
|
||||||
|
-y
|
||||||
|
|
||||||
|
et-log "Installing BBS client..."
|
||||||
|
|
||||||
|
if [ ! -e ${INSTALL_BIN_DIR} ]; then
|
||||||
|
et-log "Creating Paracon install directory: ${INSTALL_BIN_DIR}"
|
||||||
|
mkdir -v -p ${INSTALL_BIN_DIR}
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -e ${INSTALL_BIN_DIR}/${BIN_FILE} ]; then
|
||||||
|
URL="https://github.com/mfncooper/paracon/releases/download/v${VERSION}/${DOWNLOAD_FILE}"
|
||||||
|
|
||||||
|
et-log "Downloading Paracon: ${URL}"
|
||||||
|
curl -s -L -o ${BIN_FILE} --fail ${URL}
|
||||||
|
|
||||||
|
mv -v ${BIN_FILE} ${INSTALL_BIN_DIR}
|
||||||
|
fi
|
||||||
|
|
||||||
|
chmod 755 ${INSTALL_BIN_DIR}/${BIN_FILE}
|
||||||
|
|
||||||
|
[ -e ${LINK_PATH} ] && rm ${LINK_PATH}
|
||||||
|
ln -s ${INSTALL_DIR} ${LINK_PATH}
|
||||||
|
|
||||||
|
stow -v -d /opt paracon -t /usr/local
|
||||||
+2
-1
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Author : Gaston Gonzalez
|
# Author : Gaston Gonzalez
|
||||||
# Date : 16 March 2024
|
# Date : 16 March 2024
|
||||||
# Updated : 5 November 2024
|
# Updated : 22 November 2024
|
||||||
# Purpose : Main installer for EmComm Tools OS Community
|
# Purpose : Main installer for EmComm Tools OS Community
|
||||||
|
|
||||||
. ./env.sh
|
. ./env.sh
|
||||||
@@ -38,6 +38,7 @@ exitIfNotRoot
|
|||||||
# Install packet tool chain
|
# Install packet tool chain
|
||||||
./install-direwolf.sh
|
./install-direwolf.sh
|
||||||
./install-yaac.sh
|
./install-yaac.sh
|
||||||
|
./install-bbs-client.sh
|
||||||
|
|
||||||
# Install modems
|
# Install modems
|
||||||
./install-ardop.sh
|
./install-ardop.sh
|
||||||
|
|||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Author : Gaston Gonzalez
|
||||||
|
# Date : 21 November 2024
|
||||||
|
# Purpose : Test paracon installation
|
||||||
|
|
||||||
|
OUT=$(which paracon)
|
||||||
|
exit $?
|
||||||
Reference in New Issue
Block a user