]> err.no Git - systemd/commitdiff
rules: acl - add COLOR_MEASUREMENT_DEVICE match
authorFrederic Crozat <fcrozat@mandriva.com>
Thu, 14 Jan 2010 15:12:19 +0000 (16:12 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 14 Jan 2010 15:12:19 +0000 (16:12 +0100)
extras/udev-acl/70-acl.rules

index ab2984c2299c8ec27c0faaafb97cba2b413d3266..78e3ebae5351f43d0874c414a5e9147c107001da 100644 (file)
@@ -60,6 +60,9 @@ SUBSYSTEM=="input", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ACL_MANAGE}="1"
 # smart phones
 SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0c02", ENV{ACL_MANAGE}="1"
 
+# color measurement devices
+ENV{COLOR_MEASUREMENT_DEVICE}=="*?", ENV{ACL_MANAGE}="1"
+
 # apply ACL for all locally logged in users
 LABEL="acl_apply", ENV{ACL_MANAGE}=="?*", TEST=="/var/run/ConsoleKit/database", \
   RUN+="udev-acl --action=$env{ACTION} --device=$env{DEVNAME}"