[EMAIL PROTECTED] wrote:
+wait_for_uevents() {
+       # until we know how to do better, just wait for _all_ events to finish
+       loop=300
+       confirm=0
+       while true ; do
+               sleep 0.1
+               test -d /dev/.udev/queue && confirm=0 || \
+               confirm=$(( $confirm + 1 ))
+               loop=$(( $loop - 1 ))
+               test $loop -gt 0 || break
+               test $confirm -lt 60 || break
+       done
Please add here:
        >/dev/bug

Without this, bugreporting won't work. Reason: the "bug" program collects uevents only if /dev/bug exists.

+       test "$loop" -gt 0
+       evaluate_retval



--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to