X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2F70-uaccess.rules;h=a118f8e887b97515a737404cb2f9f8d57efae9c2;hb=d1148ed10a474ccc949113a8ec06e7e29c4c7cb0;hp=693249226060bdde063c522b32a6dcf4c357c7e4;hpb=131a4dcfd4375f235a1f512339c0909e8bcc730b;p=elogind.git diff --git a/src/login/70-uaccess.rules b/src/login/70-uaccess.rules index 693249226..a118f8e88 100644 --- a/src/login/70-uaccess.rules +++ b/src/login/70-uaccess.rules @@ -1,15 +1,14 @@ # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. ACTION=="remove", GOTO="uaccess_end" ENV{MAJOR}=="", GOTO="uaccess_end" # PTP/MTP protocol devices, cameras, portable media players -SUBSYSTEM=="usb", ENV{ID_USB_INTERFACES}=="", ENV{DEVTYPE}=="usb_device", IMPORT{program}="usb_id --export %p" SUBSYSTEM=="usb", ENV{ID_USB_INTERFACES}=="*:060101:*", TAG+="uaccess" # Digicams with proprietary protocol @@ -51,6 +50,9 @@ SUBSYSTEM=="misc", KERNEL=="kvm", TAG+="uaccess" # smart-card readers ENV{ID_SMARTCARD_READER}=="*?", TAG+="uaccess" +# (USB) authentication devices +ENV{ID_SECURITY_TOKEN}=="*?", TAG+="uaccess" + # PDA devices ENV{ID_PDA}=="*?", TAG+="uaccess"