From 6f4931c652ac26f9859a5b460d8e098cbdbf0336 Mon Sep 17 00:00:00 2001 From: Tim Yamin Date: Sat, 12 Mar 2005 14:55:48 +0000 Subject: [PATCH] Get udev to go as the default manager if the udev binary exists and 2.6 or above is being used. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@187 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- generic/linuxrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/generic/linuxrc b/generic/linuxrc index d3026d3..3e74c4f 100644 --- a/generic/linuxrc +++ b/generic/linuxrc @@ -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... -- 2.26.2