PnP - Refactored CAT control remove eventing. A generic rule now is responsible for stopping rig control for all EmComm Tools CAT devices.

This commit is contained in:
Gaston Gonzalez
2024-10-14 09:06:37 -07:00
parent b66102a6eb
commit 4c2f3a77a9
4 changed files with 17 additions and 13 deletions
@@ -0,0 +1,13 @@
# Author : Gaston Gonzalez
# Date : 14 October 2024
# Purpose : udev rules for generic remove events
#
# Preconditions:
# 1. CAT control device is unplugged
#
# Postconditions:
# 1. rigctld is stopped
SUBSYSTEM=="tty", ENV{ET_SUBDEVICE}=="CAT", \
ACTION=="remove", \
RUN+="/opt/emcomm-tools/sbin/wrapper-rigctld.sh stop"