PnP - Disabled kill command rigtctld wrapper. Temporarily enabled a very generic remove action in the 705 udev rules to stop the rigctld systemd unit

This commit is contained in:
Gaston Gonzalez
2024-10-10 06:12:20 -07:00
parent 449a9598c7
commit 88b003d01a
2 changed files with 8 additions and 5 deletions
@@ -37,13 +37,13 @@ start() {
exit 1
fi
# check if rigctld is already running
# Check if rigctld is already running
ps -ef | grep [r]igctld
if [ $? -eq 0 ]; then
PID=$(ps -ef | grep [r]igctld | awk '{print $2}')
et-log "Rig control is already running with process ID: ${PID}. Killing it now..."
kill -9 ${PID}
sleep 1
et-log "Rig control is already running with process ID: ${PID}."
#kill -9 ${PID}
#sleep 1
fi
# Grab rigctld values from active radio configuration