SOURCES: start_udev - back to cat | grep
Elan Ruusamäe
glen at delfi.ee
Sun Oct 23 00:58:12 CEST 2005
On Saturday 22 October 2005 21:54, freetz wrote:
> Author: freetz Date: Sat Oct 22 18:54:16 2005 GMT
> Module: SOURCES Tag: HEAD
> ---- Log message:
> - back to cat | grep
[...]
> # 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
why not using /sbin/pidof udevd || /sbin/pidof udev here ?
--
glen
More information about the pld-devel-en
mailing list