mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
quick workaround for broken %b
This commit is contained in:
parent
d57d33c2c7
commit
19f8bd613e
@ -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'`"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user