while [ $(cat /proc/[0-9]*/status 2> /dev/null | \
grep -c -E '^Name:[[:space:]]*udevd?$') -gt 1 ]; do
should be
while [ $(cat /proc/[0-9]*/status 2> /dev/null | \
grep -c -E '^Name:[[:space:]]*udevd?$') -ge 1 ]; do
Otherwise it never sees the single copy of udev that runs:
[EMAIL PROTECTED]:~$ cat /proc/[0-9]*/status 2> /dev/null | grep -c -E '^Name:[[:space:]]*udevd?$'
1
Thanks, Ian Redfern Telecoms Consultant _________________________________________ LogicaCMG 75 Hampstead Road London NW1 2PL, UK T: +44 (0) 20 7637 9111 E: [EMAIL PROTECTED] www.logicacmg.com |
signature.asc
Description: This is a digitally signed message part