26 Feb 2010 09:35
[PATCH] Fix virtio-ports rule to use $attr instead of $ATTR
Amit Shah <amit.shah <at> redhat.com>
2010-02-26 08:35:41 GMT
2010-02-26 08:35:41 GMT
Newer udev versions don't understand $ATTR.
Signed-off-by: Amit Shah <amit.shah <at> redhat.com>
---
rules/rules.d/50-udev-default.rules | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules
index f8556d1..da1535f 100644
--- a/rules/rules.d/50-udev-default.rules
+++ b/rules/rules.d/50-udev-default.rules
<at> <at> -18,7 +18,7 <at> <at> KERNEL=="mwave", GROUP="dialout"
KERNEL=="hvc*|hvsi*", GROUP="dialout"
# virtio serial / console ports
-KERNEL=="vport*", SYMLINK+="virtio-ports/$ATTR{name}"
+KERNEL=="vport*", SYMLINK+="virtio-ports/$attr{name}"
# mem
KERNEL=="null|zero|full|random|urandom", MODE="0666"
--
--
1.6.2.5
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
RSS Feed