2024-10-14 09:06:37 -07:00
|
|
|
# Author : Gaston Gonzalez
|
|
|
|
|
# Date : 14 October 2024
|
2024-10-24 08:31:57 -07:00
|
|
|
# Updated : 24 October 2024
|
2024-10-14 09:06:37 -07:00
|
|
|
# Purpose : udev rules for generic remove events
|
|
|
|
|
#
|
|
|
|
|
# Preconditions:
|
2024-10-24 08:31:57 -07:00
|
|
|
# 1. CAT control device (or DigiRig Lite) is unplugged
|
2024-10-14 09:06:37 -07:00
|
|
|
#
|
|
|
|
|
# Postconditions:
|
|
|
|
|
# 1. rigctld is stopped
|
|
|
|
|
|
|
|
|
|
SUBSYSTEM=="tty", ENV{ET_SUBDEVICE}=="CAT", \
|
|
|
|
|
ACTION=="remove", \
|
|
|
|
|
RUN+="/opt/emcomm-tools/sbin/wrapper-rigctld.sh stop"
|
2024-10-24 08:31:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
SUBSYSTEM=="sound",ENV{ET_SUBDEVICE}=="AUDIO", \
|
|
|
|
|
ACTION=="remove", \
|
|
|
|
|
RUN+="/opt/emcomm-tools/sbin/wrapper-rigctld.sh stop"
|