fixed bug in scan delay so that it will work with both udev and devfs
authorEric Edgar <rocket@gentoo.org>
Tue, 29 Mar 2005 18:19:44 +0000 (18:19 +0000)
committerEric Edgar <rocket@gentoo.org>
Tue, 29 Mar 2005 18:19:44 +0000 (18:19 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@189 67a159dc-881f-0410-a524-ba9dfbe2cb84

generic/linuxrc

index 73779df1428dc3f19a118f8ea39e278a7063d795..6c352e7af2ce2da5bb469debf511fb699f2b95bc 100644 (file)
@@ -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}" = '' ]