summaryrefslogtreecommitdiff
path: root/scripts/kvmd-udev-restart-pass
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-08-19 00:43:32 +0300
committerMaxim Devaev <[email protected]>2024-08-19 00:43:32 +0300
commitabedace4b3173fca98eee1ac0b778a45dc93c5b5 (patch)
treece23bafb2b48cb6e9f5f28bf04588b086a5b93f8 /scripts/kvmd-udev-restart-pass
parentd7675cdf231896851c492e1e0e719d2ccdc28082 (diff)
enable v4p by default
Diffstat (limited to 'scripts/kvmd-udev-restart-pass')
-rwxr-xr-xscripts/kvmd-udev-restart-pass3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/kvmd-udev-restart-pass b/scripts/kvmd-udev-restart-pass
index 760267eb..4b77897a 100755
--- a/scripts/kvmd-udev-restart-pass
+++ b/scripts/kvmd-udev-restart-pass
@@ -42,9 +42,6 @@ test -n "$port"
if [ "$port" = "HDMI-A-1" ]; then
status=$(head -n 1 "/sys/class/drm/$card-$port/status")
if [ "$status" = "connected" ]; then
- if systemctl is-enabled -q kvmd-pass; then
- systemctl restart kvmd-pass || true
- fi
for pid in $(pgrep -f '^kvmd/streamer: ' || true); do
kill "$pid" || true
done