fresh/etc/udev/rules.d/91-yubi-key.rules
2020-04-05 20:48:51 +02:00

2 lines
287 B
Plaintext

ACTION=="add", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0407", RUN+="/usr/bin/sudo -u toerd /home/toerd/.dotfiles/yubikey/switch-yubikey.sh"
ACTION=="add", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0405", RUN+="/usr/bin/sudo -u toerd /home/toerd/.dotfiles/yubikey/switch-yubikey.sh"