Add elan to the keywords used to detect if a fingerprint reader exists (#692)
This commit is contained in:
parent
d26e3e368d
commit
bc323ca267
@ -10,7 +10,7 @@ else
|
|||||||
echo -e "\e[32mLet's setup your fingerprint scanner for authentication.\n\e[0m"
|
echo -e "\e[32mLet's setup your fingerprint scanner for authentication.\n\e[0m"
|
||||||
yay -S --noconfirm --needed fprintd usbutils
|
yay -S --noconfirm --needed fprintd usbutils
|
||||||
|
|
||||||
if ! lsusb | grep -Eiq 'fingerprint|synaptics|goodix'; then
|
if ! lsusb | grep -Eiq 'fingerprint|synaptics|goodix|elan'; then
|
||||||
echo -e "\e[31m\nNo fingerprint sensor detected.\e[0m"
|
echo -e "\e[31m\nNo fingerprint sensor detected.\e[0m"
|
||||||
else
|
else
|
||||||
# Add fingerprint authentication as an option for sudo
|
# Add fingerprint authentication as an option for sudo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user