9 lines
164 B
Bash
Executable File
9 lines
164 B
Bash
Executable File
#!/bin/bash
|
|
|
|
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
|