On Thu, Aug 16, 2001 at 08:30:29AM -0500, Drew Raines allegedly wrote:
> * Marcus Reid <[EMAIL PROTECTED]>:
> >
> > I'm wondering if there's an elegant way to stop these processes during
> > a system shutdown. The best that I've thought of is something like:
> >
> > for sname in `find /service -name supervise`; do
> > svc -d `dirname $sname`
> > done
>
> Try this:
>
> % for sname in `ls -1d /service/*`; do svc -d $sname; done
Hmm. Why not just:
# svc -d /service/*
or perhaps:
# svc -d /service/* /service/*/log
I guess a command line overflow is possible, albeit unlikely.
Regards.