r1323 - / trunk/udev

jim at linuxfromscratch.org jim at linuxfromscratch.org
Mon Mar 27 16:19:17 PST 2006


Author: jim
Date: 2006-03-27 17:19:16 -0700 (Mon, 27 Mar 2006)
New Revision: 1323

Modified:
   /
   trunk/udev/
   trunk/udev/udev
Log:
 r2723 at server (orig r1323):  jim | 2006-03-27 16:04:39 -0800
  r2722 at server:  jim | 2006-03-27 16:03:29 -0800
  Readded udev loop
 



Property changes on: 
___________________________________________________________________
Name: svk:merge
   - b6734a72-470d-0410-b049-f317dca95413:/:1316
   + b6734a72-470d-0410-b049-f317dca95413:/:1323


Property changes on: trunk/udev
___________________________________________________________________
Name: svk:merge
   - 38c7b366-470d-0410-a457-935707c16d9b:/udev:2702
3949c430-d905-0410-97b6-f115d20341b5:/udev:1348
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/udev:1263
   + 38c7b366-470d-0410-a457-935707c16d9b:/udev:2722
3949c430-d905-0410-97b6-f115d20341b5:/udev:1348
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/udev:1263

Modified: trunk/udev/udev
===================================================================
--- trunk/udev/udev	2006-03-27 17:23:52 UTC (rev 1322)
+++ trunk/udev/udev	2006-03-28 00:19:16 UTC (rev 1323)
@@ -48,7 +48,16 @@
 
 	# configure all devices
 	/sbin/udevtrigger
-	evaluate_retval
+
+        # until we know how to do better, just wait for _all_ events to finish  	 	 
+	loop=300 		 
+	while test -d /dev/.udev/queue; do 		 
+	    sleep 0.1; 		 
+	    test "$loop" -gt 0 || break 		 
+	    loop=$(($loop - 1)) 		 
+	done 		 
+  		 
+	echo_ok
 	;;
 
     stop)




More information about the cross-lfs mailing list