diff options
author | Devaev Maxim <[email protected]> | 2021-05-12 12:35:22 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-05-12 12:35:22 +0300 |
commit | 19f8bd613e163da630a263cc41def0667bbb14fa (patch) | |
tree | 0e95ab2c20304b1f957235f5dc2daa12d740b2c5 /scripts/kvmd-udev-hdmiusb-check | |
parent | d57d33c2c725d2791ff6e08f91e124c1549a424d (diff) |
quick workaround for broken %b
Diffstat (limited to 'scripts/kvmd-udev-hdmiusb-check')
-rwxr-xr-x | scripts/kvmd-udev-hdmiusb-check | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/kvmd-udev-hdmiusb-check b/scripts/kvmd-udev-hdmiusb-check index f6446fa7..ada4ceab 100755 --- a/scripts/kvmd-udev-hdmiusb-check +++ b/scripts/kvmd-udev-hdmiusb-check @@ -28,6 +28,9 @@ set -x board="$1" port="$2" +# В новом systemd поломали %b в правилах udev +[ -n "$port" ] || exit 0 + # https://gist.github.com/mdevaev/6eb65be689142e5ac16da7542f50830f model="`tr < /proc/device-tree/model -d '\000'`" |