--- "Elan Ruusamäe" <[EMAIL PROTECTED]> wrote: > 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 ?
udevd remains in memory after initial synthesizing, so probably it isn't a best solution. -- Fryderyk Dziarmagowski _______________________________________________ pld-devel-en mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
