mirror of
https://github.com/systemd/systemd.git
synced 2025-02-04 21:47:31 +03:00
rules: virtio - fix is to check if the 'name' attribute is present
Fix provided by Harald Hoyer. Signed-off-by: Amit Shah <amit.shah@redhat.com>
This commit is contained in:
parent
4dd9b29135
commit
00e43e357e
@ -18,7 +18,7 @@ KERNEL=="mwave", GROUP="dialout"
|
||||
KERNEL=="hvc*|hvsi*", GROUP="dialout"
|
||||
|
||||
# virtio serial / console ports
|
||||
KERNEL=="vport*", SYMLINK+="virtio-ports/$attr{name}"
|
||||
KERNEL=="vport*", ATTR{name}=="?*", SYMLINK+="virtio-ports/$attr{name}"
|
||||
|
||||
# mem
|
||||
KERNEL=="null|zero|full|random|urandom", MODE="0666"
|
||||
|
Loading…
x
Reference in New Issue
Block a user