]> err.no Git - systemd/commitdiff
70-acl.rules: Use new-style input properties
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 30 Nov 2009 17:46:51 +0000 (18:46 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Mon, 30 Nov 2009 17:46:51 +0000 (18:46 +0100)
ID_CLASS is deprecated for input devices. Use new ID_INPUT_JOYSTICK instead.

extras/udev-acl/70-acl.rules

index 8259a7a9362f40dea1ef5b6fa13696a6719e1f5a..278b9aae7c42e6986ad9cfa72a7d4acb1fb2ec6c 100644 (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", \