summaryrefslogtreecommitdiffstats
path: root/contrib/initramfs/zfsunlock
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/initramfs/zfsunlock')
-rwxr-xr-xcontrib/initramfs/zfsunlock4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/initramfs/zfsunlock b/contrib/initramfs/zfsunlock
index f6b6b9dbe..cf8e45249 100755
--- a/contrib/initramfs/zfsunlock
+++ b/contrib/initramfs/zfsunlock
@@ -8,7 +8,7 @@ while [ ! -e /run/zfs_fs_name ]; do
if [ -e /run/zfs_unlock_complete ]; then
exit 0
fi
- sleep 0.5
+ sleep 1
done
echo
echo "Unlocking encrypted ZFS filesystems..."
@@ -31,7 +31,7 @@ while [ ! -e /run/zfs_unlock_complete ]; do
fi
# Wait for another filesystem to unlock.
while [ "$(cat /run/zfs_fs_name)" = "$zfs_fs_name" ] && [ ! -e /run/zfs_unlock_complete ]; do
- sleep 0.5
+ sleep 1
done
else
echo "Wrong password. Try again."