FX.25 - Added support for logging and enabling debuging

This commit is contained in:
Gaston Gonzalez
2024-12-28 09:50:21 -07:00
parent 1372d766ac
commit 900ff7753b
2 changed files with 10 additions and 2 deletions
@@ -16,6 +16,8 @@ Description=EmComm Tools Dire Wolf simple packet service
[Service]
ExecStart=/opt/emcomm-tools/bin/et-direwolf start simple
#StandardOutput=append:/tmp/et/et.log
Restart=no
[Install]
+7 -1
View File
@@ -14,8 +14,14 @@
DIREWOLF_CONF_FILE=${ET_HOME}/conf/template.d/packet/direwolf.conf
# FLags to enable FX.25 and debugging
[ -z ${ET_DEBUG} ] && ET_DEBUG=0
# Enable FX.25
if [ "${ET_DEBUG}" -eq 1 ]; then
FX25_OPTS="-X 16 -d x"
else
FX25_OPTS="-X 16"
fi
usage() {
echo "usage: $(basename $0) <command> <type>"