Get udev to go as the default manager if the udev binary exists and 2.6 or above...
authorTim Yamin <plasmaroo@gentoo.org>
Sat, 12 Mar 2005 14:55:48 +0000 (14:55 +0000)
committerTim Yamin <plasmaroo@gentoo.org>
Sat, 12 Mar 2005 14:55:48 +0000 (14:55 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@187 67a159dc-881f-0410-a524-ba9dfbe2cb84

generic/linuxrc

index d3026d37057dd4340a26929fd11f42123e01bd2d..3e74c4f486ca58ba7f36f884f6fb4b774b37ba60 100644 (file)
@@ -175,8 +175,7 @@ startVolumes() {
 echo -e "${GOOD}>>${NORMAL}${BOLD} Mounting filesystems${NORMAL}"
 
 # Check udev is on...
-# [ "${KMAJOR}" -ge 2 ] && USE_UDEV_SUPPORT=1
-# [ "${KMAJOR}" -eq 2 -a "${KMINOR}" -ge '6' -a ! "${USE_UDEV_SUPPORT}" -eq '0' ] && USE_UDEV_SUPPORT=1
+[ "${KMAJOR}" -eq 2 -a "${KMINOR}" -ge '6' -a ! "${USE_UDEV_SUPPORT}" -eq '0' ] && USE_UDEV_SUPPORT=1
 [ "${USE_UDEV_NORMAL}" -eq '1' -a ! -x /sbin/udev ] && USE_UDEV_NORMAL=0
 
 # If using 2.4 and udev; back off...