scripts: ctdb-crash-cleanup.sh uses initscript to see if ctdbd is running
authorMartin Schwenke <martin@meltin.net>
Mon, 15 Apr 2013 05:42:55 +0000 (15:42 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Fri, 19 Apr 2013 06:50:39 +0000 (16:50 +1000)
commit57e520c86cd59776e6e850be6ae02b3345e6ab3a
tree1d5ad4526603a33d362a2defa6347b8deb36333a
parente71243dc514752bd19dfd8cdf1eda30809d67494
scripts: ctdb-crash-cleanup.sh uses initscript to see if ctdbd is running

"ctdb ping" (or "ctdb status") can time out.  How many times should we
try?

Instead, depend on the initscript to implement something sane.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 90cb337e5ccf397b69a64298559a428ff508f196)

Conflicts:
config/ctdb-crash-cleanup.sh
config/ctdb-crash-cleanup.sh