Authenticator no longer requires pcscd restart to function

This commit is contained in:
John Mertz 2024-02-22 11:03:58 -07:00
parent ea1eb198c7
commit 7c3ba7cad8
1 changed files with 0 additions and 13 deletions

View File

@ -1,13 +0,0 @@
#!/bin/bash
RUNNING=$(pgrep yubioath-deskto)
if [ "$RUNNING" ]; then
kill $RUNNING
sudo systemctl stop pcscd.socket
sudo systemctl restart pcscd.service
sudo systemctl start pcscd.socket
fi
if [ -z ${SWAYSOCK+x} ]; then
QT_QPA_PLATFORMTHEME=qt5ct QT_QPA_PLATFORM=wayland QT_PLUGIN_PATH=/usr/lib/qt/plugins flatpak run com.yubico.yubioath &
else
QT_QPA_PLATFORMTHEME=qt5ct QT_QPA_PLATFORM=wayland QT_PLUGIN_PATH=/usr/lib/qt/plugins flatpak run com.yubico.yubioath &
fi