modem73 - Force stop modem73 if it will not exit

This commit is contained in:
thetechprepper
2026-06-29 06:49:59 -07:00
parent 32179bd18d
commit bbb0417c50
+7 -5
View File
@@ -2,9 +2,9 @@
#
# Author : Gaston Gonzalez
# Date : 12 November 2024
# Updated : 28 June 2026
# Purpose : Stops all EmComm Tools sound-based services (i.e. modems) and
# amatuer radio applications to ensure a clean start for the next mode.
# Updated : 29 June 2026
# Purpose : Stops all EmComm Tools soundcard-based services (i.e. modems)
# and radio applications to ensure a clean start for the next mode.
stop_pat() {
PS_OUT=$(ps -ef | grep "[p]at http")
@@ -21,15 +21,17 @@ stop_all_services() {
systemctl --user stop et-service-winlink-ardop
systemctl --user stop et-service-winlink-packet
systemctl --user stop et-service-winlink-native-packet
systemctl --user stop et-service-reticulum-300
systemctl --user stop et-service-reticulum-1200
systemctl --user stop et-service-ardop
systemctl --user stop et-service-direwolf-300
systemctl --user stop et-service-direwolf-9600
systemctl --user stop et-service-direwolf-simple
systemctl --user stop et-service-direwolf-aprs-digipeater
systemctl --user stop et-service-direwolf-packet-digipeater
# Stop modem73 with a sledge hammer (belt and suspenders) as the current
# 1.0.7 version can hang on exit.
systemctl --user stop et-service-modem73-default
pkill -9 modem73
# Stop VARA with a sledge hammer
pkill et-winlink