mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
JS8Call - Added support for adding the ETC release to the station info field
This commit is contained in:
@@ -16,6 +16,7 @@ Miles=true
|
|||||||
MyCall=N0CALL
|
MyCall=N0CALL
|
||||||
MyGrid=DM33
|
MyGrid=DM33
|
||||||
MyGroups=@@TTP,@@TTPNET
|
MyGroups=@@TTP,@@TTPNET
|
||||||
|
MyInfo=ETC R3
|
||||||
Polling=1
|
Polling=1
|
||||||
PSKReporter=false
|
PSKReporter=false
|
||||||
PTTMethod=@Variant(\0\0\0\x7f\0\0\0\x1eTransceiverFactory::PTTMethod\0\0\0\0\xfPTT_method_CAT\0)
|
PTTMethod=@Variant(\0\0\0\x7f\0\0\0\x1eTransceiverFactory::PTTMethod\0\0\0\0\xfPTT_method_CAT\0)
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
# 1. Supported radio and audio interface are connected and properly detected
|
# 1. Supported radio and audio interface are connected and properly detected
|
||||||
#
|
#
|
||||||
# Postconditions
|
# Postconditions
|
||||||
# 1. Stop all running EmComm Tools modes and services
|
# 1. Stop all running EmComm Tools modes
|
||||||
# 2. JS8Call audio settings updated
|
# 2. JS8Call audio settings updated
|
||||||
# 3. JS8Call started
|
# 3. JS8Call started
|
||||||
|
|
||||||
@@ -53,6 +53,9 @@ update-config () {
|
|||||||
sed -i "s|^MyCall.*|MyCall=${CALLSIGN}|" ${JS8CALL_CONF_FILE}
|
sed -i "s|^MyCall.*|MyCall=${CALLSIGN}|" ${JS8CALL_CONF_FILE}
|
||||||
sed -i "s|^MyGrid.*|MyGrid=${GRID}|" ${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}'"
|
et-log "Updated JS8Call configuration with user callsign '${CALLSIGN}' and grid: '${GRID}'"
|
||||||
|
|
||||||
# 1. Check if the symlink was created by the udev rules
|
# 1. Check if the symlink was created by the udev rules
|
||||||
|
|||||||
Reference in New Issue
Block a user