Drew Raines <[EMAIL PROTECTED]> wrote:
>       % for sname in `ls -1d /service/*`; do svc -d $sname; done      

Useless use of ls.
for sname in /service/* /service/*/log; do svc -d "$sname"; done
Or, if you're not worried about overflowing the command-line length
limit, do like MarkD said.

Of course, *any* use of svc is still going to return immediately.  If
you want to know when the service is actually down, you have to poll
with svstat.


paul

Reply via email to