Key-ID updated
This commit is contained in:
parent
b48faf2c02
commit
040ee70213
2 changed files with 34 additions and 16 deletions
|
@ -556,15 +556,24 @@ function installTLPMenu () {
|
||||||
installAppsFromListMenu tlp
|
installAppsFromListMenu tlp
|
||||||
}
|
}
|
||||||
|
|
||||||
#TODO:
|
#
|
||||||
|
# Key-ID USB Fido U2F device udev rules
|
||||||
|
#
|
||||||
function installKeyIDuDev () {
|
function installKeyIDuDev () {
|
||||||
sudo sh -c "echo '# this udev file should be used with udev 188 and newer\n\
|
printf "[CMD] Adding Key-ID device UDEV rules "
|
||||||
ACTION!=\"add|change\", GOTO=\"u2f_end\"\n\
|
|
||||||
\n\
|
cat << EOF | sudo tee /etc/udev/rules.d/70-u2f.rules
|
||||||
# Key-ID FIDO U2F\n\
|
# this udev file should be used with udev 188 and newer\n\
|
||||||
KERNEL==\"hidraw*\", SUBSYSTEM==\"hidraw\", ATTRS{idVendor}==\"096e\", ATTRS{idProduct}==\"0850|0880\", TAG+=\"uaccess\"\n\
|
ACTION!="add|change", GOTO="u2f_end"
|
||||||
\n\
|
|
||||||
LABEL=\"u2f_end\"' > /etc/udev/rules.d/70-u2f.rules"
|
# Key-ID FIDO U2F
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e", ATTRS{idProduct}=="0850|0880", TAG+="uaccess"
|
||||||
|
|
||||||
|
LABEL="u2f_end"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
ret_code=$?
|
||||||
|
retCode $ret_code
|
||||||
|
|
||||||
runCmd "sudo service udev restart" \
|
runCmd "sudo service udev restart" \
|
||||||
"restarting UDEV service"
|
"restarting UDEV service"
|
||||||
|
|
|
@ -524,15 +524,24 @@ function installTLPMenu () {
|
||||||
installAppsFromListMenu tlp
|
installAppsFromListMenu tlp
|
||||||
}
|
}
|
||||||
|
|
||||||
#TODO:
|
#
|
||||||
|
# Key-ID USB Fido U2F device udev rules
|
||||||
|
#
|
||||||
function installKeyIDuDev () {
|
function installKeyIDuDev () {
|
||||||
sudo sh -c "echo '# this udev file should be used with udev 188 and newer\n\
|
printf "[CMD] Adding Key-ID device UDEV rules "
|
||||||
ACTION!=\"add|change\", GOTO=\"u2f_end\"\n\
|
|
||||||
\n\
|
cat << EOF | sudo tee /etc/udev/rules.d/70-u2f.rules
|
||||||
# Key-ID FIDO U2F\n\
|
# this udev file should be used with udev 188 and newer\n\
|
||||||
KERNEL==\"hidraw*\", SUBSYSTEM==\"hidraw\", ATTRS{idVendor}==\"096e\", ATTRS{idProduct}==\"0850|0880\", TAG+=\"uaccess\"\n\
|
ACTION!="add|change", GOTO="u2f_end"
|
||||||
\n\
|
|
||||||
LABEL=\"u2f_end\"' > /etc/udev/rules.d/70-u2f.rules"
|
# Key-ID FIDO U2F
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e", ATTRS{idProduct}=="0850|0880", TAG+="uaccess"
|
||||||
|
|
||||||
|
LABEL="u2f_end"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
ret_code=$?
|
||||||
|
retCode $ret_code
|
||||||
|
|
||||||
runCmd "sudo service udev restart" \
|
runCmd "sudo service udev restart" \
|
||||||
"restarting UDEV service"
|
"restarting UDEV service"
|
||||||
|
|
Loading…
Reference in a new issue