summary refs log tree commit diff stats
path: root/bin/yubikey_detect_touch.sh
blob: ce4893e3083fa6e3ec389dea73f31841620ba41e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
set -e

if ! pgrep yubikey-touch-detector; then
    yubikey-touch-detector &
fi

if ! pgrep yubikey-push-the-button; then
    yubikey-push-the-button &
fi