On Sat, Sep 09, 2000 at 04:03:50PM -0400, Robert D. Hilliard wrote:

>      ps ax|grep <daemon-name>|grep -v grep works for me.

It works for you because you are interactive.  A maintainer script is not.
If you run ps ax|grep daemon|grep -v grep and you see:

12661 pts/0    S      0:00 vi /etc/daemon.conf

You notice what's going on and correct it.  Non-interactive scripts need to
be more precise, and work for all cases.

-- 
 - mdz


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to