]> git.pld-linux.org Git - packages/systemd.git/commitdiff
- back to cat | grep auto/ac/udev-071-1 auto/ac/udev-071-2 auto/ac/udev-071-3 auto/ac/udev-071-4 auto/ac/udev-071-5
authorfreetz <freetz@pld-linux.org>
Sat, 22 Oct 2005 18:54:11 +0000 (18:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    start_udev -> 1.23

start_udev

index 7b604e35e6ff4cb2777933ce2ad7455099d89e8e..9b41b9f1035f3ac7f03997a95d3e5e0fc3a091a1 100644 (file)
@@ -224,7 +224,8 @@ set_hotplug_handler
 /sbin/${UDEV_STARTER}
 
 # wait for the udev/udevd childs to finish
-while [ "$(grep -c -E '^Name:[[:space:]]*udevd?$' /proc/[0-9]*/status)" -gt 1 ]; do
+while [ "$(cat /proc/[0-9]*/status 2> /dev/null | \
+        grep -c -E '^Name:[[:space:]]*udevd?$')" -gt 1 ]; do
     sleep 1
     udevd_timeout=$(($udevd_timeout - 1))
     if [ $udevd_timeout -eq 0 ]; then
This page took 0.645782 seconds and 4 git commands to generate.