Created
March 3, 2016 13:56
-
-
Save khardix/ecab6e28a0b85105d0ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACTION!="add|change", GOTO="yubico_end" | |
# Yubico Yubikey Neo | |
ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0010|0110|0111|0116|0407", \ | |
ENV{ID_SECURITY_TOKEN}="1", RUN+="/bin/bash -c '/usr/bin/killall -9 scdaemon; sleep 1; /usr/bin/gpg2 --card-status'" | |
LABEL="yubico_end" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment