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>
Thu, 18 Apr 2013 03:22:12 +0000 (13:22 +1000)
commit90cb337e5ccf397b69a64298559a428ff508f196
tree9a56369adb1780115d0e2cf77bdfee5b9d23ceab
parent687e2eace4f48400cf5029914f62b6ddabb85378
scripts: ctdb-crash-cleanup.sh uses initscript to see if ctdbd is running

"ctdb ping" 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>
config/ctdb-crash-cleanup.sh