From b4003bde435e238109988609b683460c9ad06f8d Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Wed, 22 Sep 2004 16:57:39 +0000 Subject: * Wed Sep 22 2004 Jeremy Katz - 7.83-1 - conflict with old udev - use udev if it's present --- rc.d/rc.sysinit | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'rc.d') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 44c61e9e..888ee02e 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -131,9 +131,7 @@ if [ -f /etc/udev/udev.conf ];then . /etc/udev/udev.conf fi -if [ "$USE_UDEV" = "yes" -a "$UDEV_TMPFS" = "yes" ]; then - [ -x /sbin/start_udev ] && /sbin/start_udev -fi +[ -x /sbin/start_udev ] && /sbin/start_udev # Initialize hardware if [ -f /proc/sys/kernel/modprobe ]; then @@ -478,10 +476,7 @@ state=`awk '/ \/ / && ($3 !~ /rootfs/) { print $4 }' /proc/mounts` [ "$state" != "rw" -a "$READONLY" != "yes" ] && \ action $"Remounting root filesystem in read-write mode: " mount -n -o remount,rw / -if [ "$USE_UDEV" = "yes" -a "$UDEV_TMPFS" = "no" ]; then - [ -x /sbin/start_udev ] && /sbin/start_udev -fi - +[ -x /sbin/start_udev ] && /sbin/start_udev # LVM2 initialization if [ -x /sbin/lvm.static ]; then -- cgit v1.2.1