slitaz-boot-scripts rev 230

rcS: udev is already started by kernel
author Christophe Lincoln <pankso@slitaz.org>
date Thu Feb 24 18:48:18 2011 +0100 (2011-02-24)
parents f12a7bdb3980
children 1aca016619c0
files etc/init.d/rcS
line diff
     1.1 --- a/etc/init.d/rcS	Sat Feb 05 19:20:24 2011 +0100
     1.2 +++ b/etc/init.d/rcS	Thu Feb 24 18:48:18 2011 +0100
     1.3 @@ -42,16 +42,18 @@
     1.4  
     1.5  # Start Udev to populate /dev and handle hotplug events
     1.6  if [ "$UDEV" = "yes" ]; then
     1.7 -	echo -n "Starting udev daemon..."
     1.8 -	/sbin/udevd --daemon
     1.9 +	#echo -n "Starting udev daemon..."
    1.10 +	#/sbin/udevd --daemon
    1.11 +	#status
    1.12 +	#echo -n "Udevadm requesting events from the Kernel..."
    1.13 +	#udevadm trigger
    1.14 +	#status
    1.15 +	#echo -n "Udevadm waiting for the event queue to finish..."
    1.16 +	#udevadm settle
    1.17 +	#status
    1.18 +	echo -n "Using udev daemon for hotplug..."
    1.19 +	echo "/sbin/udevd" > /proc/sys/kernel/hotplug
    1.20  	status
    1.21 -	echo -n "Udevadm requesting events from the Kernel..."
    1.22 -	udevadm trigger
    1.23 -	status
    1.24 -	echo -n "Udevadm waiting for the event queue to finish..."
    1.25 -	udevadm settle
    1.26 -	status
    1.27 -	echo "/sbin/udevd" > /proc/sys/kernel/hotplug
    1.28  fi
    1.29  
    1.30  # Before mounting filesystems we check fs specified in the file