SOURCES: start_udev - add udevsettle tool

freetz freetz at pld-linux.org
Sun Apr 16 12:52:33 CEST 2006


Author: freetz                       Date: Sun Apr 16 10:52:33 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add udevsettle tool

---- Files affected:
SOURCES:
   start_udev (1.35 -> 1.36) 

---- Diffs:

================================================================
Index: SOURCES/start_udev
diff -u SOURCES/start_udev:1.35 SOURCES/start_udev:1.36
--- SOURCES/start_udev:1.35	Tue Mar 28 20:32:14 2006
+++ SOURCES/start_udev	Sun Apr 16 12:52:28 2006
@@ -114,13 +114,7 @@
 	ret=$(( $ret + $? ))
 	
 	# wait for the events to finish
-	loop=300
-	while test -d /dev/.udev/queue; do
-	    sleep 0.1;
-	    test "$loop" -gt 0 || break
-	    loop=$(($loop - 1))
-	done
-	
+	udevsettle	
 	ret=$(( $ret + $? ))
 else
 	echo "Kernel too old for this udev version"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/start_udev?r1=1.35&r2=1.36&f=u



More information about the pld-cvs-commit mailing list