Fixes - Post R4 Build 15 fixes

This commit is contained in:
Gaston Gonzalez
2025-03-17 11:34:33 -07:00
parent 5c260ff83f
commit c7f5ec2f6c
3 changed files with 8 additions and 15 deletions
+3 -9
View File
@@ -2,19 +2,14 @@
#
# Author : Gaston Gonzalez
# Date : 11 October 2024
# Updated : 5 February 2025
# Updated : 16 March 2025
# Purpose : A script for managaing plug-and-play radios
set -e
source /opt/emcomm-tools/bin/et-common
ACTIVE_RADIO="${ET_HOME}/conf/radios.d/active-radio.json"
NO_RADIO_ID="no-radio"
YELLOW="\033[1;33m"
GREEN="\033[0;32m"
RED="\033[0;31m"
NC="\033[0m"
options=()
options+=("${NO_RADIO_ID}" "No radio")
while IFS= read -r radio; do
@@ -51,8 +46,7 @@ if [ $exit_status -eq 0 ]; then
BLUETOOTH_TNC_CHECK=$(ps -ef | grep "[r]fcomm connect")
if [[ $? -eq 0 ]]; then
et-log "Killing running processes for Bluetooth TNC"
sudo /usr/bin/killall kissattach
sudo /usr/bin/killall rfcomm
sudo /opt/emcomm-tools/bin/et-kill-bt
fi
printf "%-20s %-10s %-10s\n" "Radio ID" "Vendor" "Model"