From 5f847e97f2992fb388f5cba9444b460ae900cc8a Mon Sep 17 00:00:00 2001 From: Eric Edgar Date: Tue, 29 Mar 2005 18:19:44 +0000 Subject: [PATCH] fixed bug in scan delay so that it will work with both udev and devfs git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@189 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- generic/linuxrc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/generic/linuxrc b/generic/linuxrc index 73779df..6c352e7 100644 --- a/generic/linuxrc +++ b/generic/linuxrc @@ -211,13 +211,14 @@ then then mount -t devfs devfs /newroot/dev devfsd /newroot/dev -np - if [ -n "${SDELAY}" ]; then - sleep ${SDELAY} - else - sleep 1 - fi fi fi + + if [ -n "${SDELAY}" ]; then + sleep ${SDELAY} + else + sleep 1 + fi bootstrapCD() { if [ "${CDROOT_DEV}" = '' ] -- 2.26.2