summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2009-11-30 18:46:51 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2009-11-30 18:46:51 +0100
commit897c0f175d239f7a94207197e2464f06b92368f7 (patch)
tree388b130f8c197a422e5b4bd6e6a9dc74ce49f49e /extras
parenta6cf7734015dfc4479f4fdd4585d8953979fe0b0 (diff)
70-acl.rules: Use new-style input properties
ID_CLASS is deprecated for input devices. Use new ID_INPUT_JOYSTICK instead.
Diffstat (limited to 'extras')
-rw-r--r--extras/udev-acl/70-acl.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/udev-acl/70-acl.rules b/extras/udev-acl/70-acl.rules
index 8259a7a936..278b9aae7c 100644
--- a/extras/udev-acl/70-acl.rules
+++ b/extras/udev-acl/70-acl.rules
@@ -46,7 +46,7 @@ SUBSYSTEM=="misc", KERNEL=="kvm", ENV{ACL_MANAGE}="1"
ENV{ID_SMARTCARD_READER}=="*?", ENV{ACL_MANAGE}="1"
# joysticks
-SUBSYSTEM=="input", ENV{ID_CLASS}=="joystick", ENV{ACL_MANAGE}="1"
+SUBSYSTEM=="input", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ACL_MANAGE}="1"
# apply ACL for all locally logged in users
LABEL="acl_apply", ENV{ACL_MANAGE}=="?*", TEST=="/var/run/ConsoleKit/database", \