foodotfiles/root/etc/udev/rules.d/20-yubikey.rules

2 lines
130 B
Plaintext
Raw Permalink Normal View History

ACTION=="remove", ENV{ID_BUS}=="usb", ENV{ID_MODEL_ID}=="0407", ENV{ID_VENDOR_ID}=="1050", RUN+="/usr/bin/loginctl lock-sessions"