mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
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:
@@ -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"
|
||||
Reference in New Issue
Block a user