SOURCES: start_udev - fixed possible trouble maker, added UDEV_STA...
freetz
freetz at pld-linux.org
Sat Oct 22 18:31:16 CEST 2005
Author: freetz Date: Sat Oct 22 16:31:13 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fixed possible trouble maker, added UDEV_STARTER
---- Files affected:
SOURCES:
start_udev (1.21 -> 1.22)
---- Diffs:
================================================================
Index: SOURCES/start_udev
diff -u SOURCES/start_udev:1.21 SOURCES/start_udev:1.22
--- SOURCES/start_udev:1.21 Sat Oct 22 12:00:36 2005
+++ SOURCES/start_udev Sat Oct 22 18:31:08 2005
@@ -221,11 +221,10 @@
set_hotplug_handler
# Synthesizing the initial hotplug events
-/sbin/udevsynthesize
+/sbin/${UDEV_STARTER}
# wait for the udev/udevd childs to finish
-while [ $(cat /proc/[0-9]*/status 2> /dev/null | \
- grep -c -E '^Name:[[:space:]]*udevd?$') -gt 1 ]; do
+while [ "$(grep -c -E '^Name:[[:space:]]*udevd?$' /proc/[0-9]*/status)" -gt 1 ]; do
sleep 1
udevd_timeout=$(($udevd_timeout - 1))
if [ $udevd_timeout -eq 0 ]; then
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/start_udev?r1=1.21&r2=1.22&f=u
More information about the pld-cvs-commit
mailing list