From 33a5119a7833c79d29faf5a8a5e7af0c4588381c Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Wed, 16 Oct 2013 11:59:21 +0200 Subject: [PATCH] 00-crypt.sh: tentatively drop one horrible "sleep" call Thomas Bettler reported that things seem to work, but more testing may be needed. --- defaults/initrd.d/00-crypt.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/defaults/initrd.d/00-crypt.sh b/defaults/initrd.d/00-crypt.sh index 90c5f3a..a2fb53b 100755 --- a/defaults/initrd.d/00-crypt.sh +++ b/defaults/initrd.d/00-crypt.sh @@ -151,8 +151,6 @@ _open_luks() { good_msg "Removable device ${real_luks_keydev} mounted." - # TODO(lxnay): horrible sleep, what are we waiting for? - sleep 2 if [ ! -e "${mntkey}${LUKS_KEY}" ]; then umount -n "${mntkey}" key_error=1