From: Eric Edgar Date: Tue, 29 Mar 2005 18:19:44 +0000 (+0000) Subject: fixed bug in scan delay so that it will work with both udev and devfs X-Git-Tag: v3.4.10.902~563 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f847e97f2992fb388f5cba9444b460ae900cc8a;p=genkernel.git 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 --- 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}" = '' ]