mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
reticulum - Changed approach for running MeshChat. It's up to the user to ensure that rnsd is running
This commit is contained in:
@@ -1,44 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
#
|
|
||||||
# Author : Gaston Gonzalez
|
|
||||||
# Date : 15 May 2026
|
|
||||||
# Purpose : Wrapper script for starting MeshChat with PnP support
|
|
||||||
#
|
|
||||||
# Preconditions
|
|
||||||
# 1. Supported radio and audio interface are connected and properly detected
|
|
||||||
#
|
|
||||||
# Postconditions
|
|
||||||
# 1. Stop all running EmComm Tools modes
|
|
||||||
# 2. Start Dire Wolf in appropriate mode
|
|
||||||
# 3. Start Reticulum (rnsd) in appropriate mode
|
|
||||||
. /opt/emcomm-tools/bin/et-common
|
|
||||||
|
|
||||||
usage() {
|
|
||||||
echo "usage: $(basename $0) <mode>"
|
|
||||||
echo " <mode>"
|
|
||||||
echo " 1200 - Run MeshChat with AX.25 interface over VHF/UHF (1200 baud)"
|
|
||||||
echo " 300 - Run MeshChat with AX.25 interface over HF (300 baud)"
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ $# -ne 1 ]; then
|
|
||||||
usage
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
et-kill-all
|
|
||||||
|
|
||||||
MODE=$1
|
|
||||||
case "${MODE}" in
|
|
||||||
"1200")
|
|
||||||
start_and_wait_for_service et-service-reticulum-1200
|
|
||||||
;;
|
|
||||||
"300")
|
|
||||||
start_and_wait_for_service et-service-reticulum-300
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
et-log "Unsupported mode."
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
et-meshchat
|
|
||||||
+3
-3
@@ -1,8 +1,8 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Version=1.0
|
Version=1.0
|
||||||
Name=MeshChat 1200
|
Name=MeshChat
|
||||||
Comment=MeshChat over Reticulum using 1200 baud packet
|
Comment=MeshChat
|
||||||
Exec=/opt/emcomm-tools/bin/et-meshchat-app 1200
|
Exec=/opt/ReticulumMeshChat-2.3.0/bin/ReticulumMeshChat-v2.3.0-linux.AppImage
|
||||||
Icon=/opt/ReticulumMeshChat-2.3.0/logo-chat-bubble.png
|
Icon=/opt/ReticulumMeshChat-2.3.0/logo-chat-bubble.png
|
||||||
Terminal=false
|
Terminal=false
|
||||||
X-MultipleArgs=false
|
X-MultipleArgs=false
|
||||||
Reference in New Issue
Block a user