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
cleanup-cruft
Tim Yamin 20 years ago
parent a7f896f0c1
commit 6f4931c652

@ -175,8 +175,7 @@ startVolumes() {
echo -e "${GOOD}>>${NORMAL}${BOLD} Mounting filesystems${NORMAL}" echo -e "${GOOD}>>${NORMAL}${BOLD} Mounting filesystems${NORMAL}"
# Check udev is on... # 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 [ "${USE_UDEV_NORMAL}" -eq '1' -a ! -x /sbin/udev ] && USE_UDEV_NORMAL=0
# If using 2.4 and udev; back off... # If using 2.4 and udev; back off...

Loading…
Cancel
Save