Make udev default for 2.6+
authorTim Yamin <plasmaroo@gentoo.org>
Sat, 22 Jan 2005 22:35:09 +0000 (22:35 +0000)
committerTim Yamin <plasmaroo@gentoo.org>
Sat, 22 Jan 2005 22:35:09 +0000 (22:35 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@162 67a159dc-881f-0410-a524-ba9dfbe2cb84

genkernel

index 672f707f62f7e3036f09cfa350bd7e7ec2cbb75b..48d078369c4306b11f36319bf2d7d51efc386198 100755 (executable)
--- a/genkernel
+++ b/genkernel
@@ -272,6 +272,10 @@ then
        fi
 
        compile_devfsd
+       if [ "${DEVFS}" -eq '0' ]
+       then
+               [ "${VER}" -gt '2' ] || [ "${VER}" -eq '2' -a "${PAT}" -ge '6' ] && UDEV=1
+       fi
        [ "${UDEV}" -eq '1' ] && compile_udev
 
        # Create initrd