got testing for device working

This commit is contained in:
Zhephod
2025-07-15 02:34:18 -07:00
parent 0a8d3c3322
commit f1761319e9

View File

@ -1,3 +1,8 @@
#!/bin/bash
yay -S --noconfirm --needed libfido2
yay -S --noconfirm --needed libfido2 pam-u2f
tokens=$(fido2-token -L)
if [ -z "$tokens" ]; then
echo -e "\e[31m\nNo fido2 device detected.\e[0m"
fi