70-acl.rules: Use new-style input properties

ID_CLASS is deprecated for input devices. Use new ID_INPUT_JOYSTICK instead.
This commit is contained in:
Martin Pitt
2009-11-30 18:46:51 +01:00
parent a6cf773401
commit 897c0f175d
+1 -1
View File
@@ -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", \