Skip to content

Commit

Permalink
Add udevadm settle to make bootups with the key plugged in work better
Browse files Browse the repository at this point in the history
  • Loading branch information
tfheen committed May 4, 2011
1 parent b21328e commit 0611a12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helper
Expand Up @@ -2,6 +2,7 @@

set -e

udevadm settle || true
R="$(ykchalresp "$(cat /etc/yubikey-challenge)" 2>/dev/null || true )"
if [ -z "$R" ]; then
echo "Please insert yubikey or press enter to use password unlocking" >&2
Expand Down

0 comments on commit 0611a12

Please sign in to comment.