JS8Call - Added support for adding the ETC release to the station info field

This commit is contained in:
Gaston Gonzalez
2024-11-12 07:59:26 -07:00
parent 77606e4038
commit bb2366b5bf
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -16,6 +16,7 @@ Miles=true
MyCall=N0CALL
MyGrid=DM33
MyGroups=@@TTP,@@TTPNET
MyInfo=ETC R3
Polling=1
PSKReporter=false
PTTMethod=@Variant(\0\0\0\x7f\0\0\0\x1eTransceiverFactory::PTTMethod\0\0\0\0\xfPTT_method_CAT\0)
+4 -1
View File
@@ -9,7 +9,7 @@
# 1. Supported radio and audio interface are connected and properly detected
#
# Postconditions
# 1. Stop all running EmComm Tools modes and services
# 1. Stop all running EmComm Tools modes
# 2. JS8Call audio settings updated
# 3. JS8Call started
@@ -53,6 +53,9 @@ update-config () {
sed -i "s|^MyCall.*|MyCall=${CALLSIGN}|" ${JS8CALL_CONF_FILE}
sed -i "s|^MyGrid.*|MyGrid=${GRID}|" ${JS8CALL_CONF_FILE}
ET_RELEASE=$(et-system-info release)
sed -i "s|^MyInfo.*|MyInfo=${ET_RELEASE}|" ${JS8CALL_CONF_FILE}
et-log "Updated JS8Call configuration with user callsign '${CALLSIGN}' and grid: '${GRID}'"
# 1. Check if the symlink was created by the udev rules