summaryrefslogtreecommitdiff
path: root/rules/rules.d
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2010-02-26 14:05:41 +0530
committerMartin Pitt <martin.pitt@ubuntu.com>2010-03-04 00:39:53 +0100
commit3c4b1738a9d591d7ddce361ea184b76b253c4e87 (patch)
tree7fe2bfb0fbab9119bf9e1e7c90502c6644b1f846 /rules/rules.d
parente32d5237ea045045c621edba7341631abd602d74 (diff)
Fix virtio-ports rule to use $attr instead of $ATTR
Newer udev versions don't understand $ATTR. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Diffstat (limited to 'rules/rules.d')
-rw-r--r--rules/rules.d/50-udev-default.rules2
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 f8556d1940..da1535f92b 100644
--- a/rules/rules.d/50-udev-default.rules
+++ b/rules/rules.d/50-udev-default.rules
@@ -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*", SYMLINK+="virtio-ports/$attr{name}"
# mem
KERNEL=="null|zero|full|random|urandom", MODE="0666"