Bastian Blank wrote:
> procps is required but not essential.

Instead of adding an additional depedency on procps, why not use:

start-stop-daemon --start --quiet --pidfile /var/run/dbus/pid --exec
/usr/bin/dbus-daemon --test > /dev/null

This returns:
0 if daemon would be started
1 if daemon is already running
2 if daemon can not be started

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to