--- trunk/magellan-initscripts/etc/rc.d/init.d/rc 2007/03/04 13:24:34 428 +++ trunk/magellan-initscripts/etc/rc.d/init.d/rc 2007/03/06 00:10:26 431 @@ -1,5 +1,5 @@ #!/bin/bash -# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/rc,v 1.13 2007-03-04 13:24:34 niro Exp $ +# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/rc,v 1.14 2007-03-06 00:10:26 niro Exp $ source /etc/sysconfig/rc source $rc_functions @@ -21,6 +21,11 @@ version=${version##0} # Older udev's will print nothing [[ -z ${version} ]] && version=0 + elif [[ -x /sbin/udevd ]] + then + version=$(/sbin/udevd --version) + version=${version##0} + [[ -z ${version} ]] && version=0 fi echo "${version}" @@ -37,7 +42,7 @@ if [ "$(kernel_version | sed 's:\.::g' | cut -d_ -f1)" -gt "2614" ] then echo -e ${COLOREDSTAR}" Populating /dev with existing devices through uevents ..." - [[ $(udev_version) -ge "96" ]] && opts="--attr-match=dev" + [[ $(udev_version) -ge "96" ]] && [[ ${RC_COLDPLUG} != yes ]] && opts="--attr-match=dev" /sbin/udevtrigger ${opts} evaluate_retval else