diff options
author | Colin Watson <cjwatson@debian.org> | 2020-09-20 16:14:20 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-09-20 16:14:20 +0100 |
commit | 173bfbf7886608a4a7abbfac6a42ac4bf4a3432d (patch) | |
tree | b97833d8754f257f92d99dd2f5c9e9d557e3f689 /tools/fido2-detach.sh | |
parent | 75073d0a8478441cc97a6efa10b566c5fb1dac81 (diff) |
New upstream version 1.5.0
Diffstat (limited to 'tools/fido2-detach.sh')
-rwxr-xr-x | tools/fido2-detach.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/fido2-detach.sh b/tools/fido2-detach.sh new file mode 100755 index 0000000..9cd2e64 --- /dev/null +++ b/tools/fido2-detach.sh | |||
@@ -0,0 +1,12 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # Copyright (c) 2020 Yubico AB. All rights reserved. | ||
4 | # Use of this source code is governed by a BSD-style | ||
5 | # license that can be found in the LICENSE file. | ||
6 | |||
7 | DEV="$(fido2-token -L | sed 's/^\(.*\): .*$/\1/;q')" | ||
8 | |||
9 | while [ -n "${DEV}" ]; do | ||
10 | sleep .5 | ||
11 | DEV="$(fido2-token -L | sed 's/^\(.*\): .*$/\1/;q')" | ||
12 | done | ||