diff --git a/overlay/etc/skel/.config/JS8Call.ini b/overlay/etc/skel/.config/JS8Call.ini index 7eefb25..1d17ae1 100644 --- a/overlay/etc/skel/.config/JS8Call.ini +++ b/overlay/etc/skel/.config/JS8Call.ini @@ -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) diff --git a/overlay/opt/emcomm-tools/bin/et-js8call b/overlay/opt/emcomm-tools/bin/et-js8call index c5efad9..d3eae5e 100755 --- a/overlay/opt/emcomm-tools/bin/et-js8call +++ b/overlay/opt/emcomm-tools/bin/et-js8call @@ -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