From 9cd62ec422c50e7eb344ef2e40cd03bd7ed35018 Mon Sep 17 00:00:00 2001 From: iamromulan <50184035+iamromulan@users.noreply.github.com> Date: Tue, 27 Feb 2024 00:19:03 -0500 Subject: [PATCH] Add systemd unit for smd7 bridge kill -Kills existing bridge between smd7 and at_usb2 (Confirmed Not the USB COM port that shows in Windows) --- .../smd7_systemd_units/killsmd7bridge.service | 9 +++++++++ .../smd7_tty2_systemd_units/killsmd7bridge.service | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 socat-at-bridge/smd7_systemd_units/killsmd7bridge.service create mode 100644 socat-at-bridge/smd7_tty2_systemd_units/killsmd7bridge.service diff --git a/socat-at-bridge/smd7_systemd_units/killsmd7bridge.service b/socat-at-bridge/smd7_systemd_units/killsmd7bridge.service new file mode 100644 index 0000000..23bfd46 --- /dev/null +++ b/socat-at-bridge/smd7_systemd_units/killsmd7bridge.service @@ -0,0 +1,9 @@ +[Unit] +Description=Kill port_bridge process on boot + +[Service] +Type=oneshot +ExecStart=/usrdata/socat-at-bridge/killsmd7bridge + +[Install] +WantedBy=multi-user.target diff --git a/socat-at-bridge/smd7_tty2_systemd_units/killsmd7bridge.service b/socat-at-bridge/smd7_tty2_systemd_units/killsmd7bridge.service new file mode 100644 index 0000000..23bfd46 --- /dev/null +++ b/socat-at-bridge/smd7_tty2_systemd_units/killsmd7bridge.service @@ -0,0 +1,9 @@ +[Unit] +Description=Kill port_bridge process on boot + +[Service] +Type=oneshot +ExecStart=/usrdata/socat-at-bridge/killsmd7bridge + +[Install] +WantedBy=multi-user.target