Skip to content

Commit 7b5bf47

Browse files
nabijaczlewelibehlendorf
authored andcommitted
i-t: let rootdelay= set $ZFS_INITRD_PRE_MOUNTROOT_SLEEP
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Ref: #11420 (comment) Closes #11663 Closes #12148
1 parent d484a72 commit 7b5bf47

File tree

1 file changed

+2
-0
lines changed
  • contrib/initramfs/scripts

1 file changed

+2
-0
lines changed

contrib/initramfs/scripts/zfs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,8 @@ import_pool()
273273
# with more logging etc.
274274
load_module_initrd()
275275
{
276+
[ -n "$ROOTDELAY" ] && ZFS_INITRD_PRE_MOUNTROOT_SLEEP="$ROOTDELAY"
277+
276278
if [ "$ZFS_INITRD_PRE_MOUNTROOT_SLEEP" -gt 0 ] 2>/dev/null
277279
then
278280
if [ "$quiet" != "y" ]; then

0 commit comments

Comments
 (0)