diff options
author | Benjamin Morrison <ben@gbmor.org> | 2023-11-06 22:15:23 -0500 |
---|---|---|
committer | Benjamin Morrison <ben@gbmor.org> | 2023-11-06 22:15:23 -0500 |
commit | dc500844c448deb46aa8613faa3d295a0061965c (patch) | |
tree | d8090e57e9d728f6119d34d05b730d4cf168ddfc /bin/yubikey_detect_touch.sh | |
parent | c5bae0a85eccbfb07fa5b269b3e8d73e7a60bac4 (diff) | |
download | dogfiles-trunk.tar.gz |
Diffstat (limited to 'bin/yubikey_detect_touch.sh')
-rwxr-xr-x | bin/yubikey_detect_touch.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/yubikey_detect_touch.sh b/bin/yubikey_detect_touch.sh new file mode 100755 index 0000000..ce4893e --- /dev/null +++ b/bin/yubikey_detect_touch.sh @@ -0,0 +1,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 |