enable v4p by default

This commit is contained in:
Maxim Devaev
2024-08-19 00:43:32 +03:00
parent d7675cdf23
commit abedace4b3
6 changed files with 10 additions and 22 deletions

View File

@@ -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