13 lines
323 B
Bash
Executable File
13 lines
323 B
Bash
Executable File
#!/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
|
|
|
|
QT_QPA_PLATFORMTHEME=qt5ct QT_QPA_PLATFORM=wayland QT_PLUGIN_PATH=/usr/lib/qt/plugins /usr/bin/yubioath-desktop &
|