From: Tim Yamin Date: Sat, 12 Mar 2005 14:55:48 +0000 (+0000) Subject: Get udev to go as the default manager if the udev binary exists and 2.6 or above... X-Git-Tag: v3.4.10.902~565 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6f4931c652ac26f9859a5b460d8e098cbdbf0336;p=genkernel.git 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 --- 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...