public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - cman init: change groupd startup check
@ 2009-04-20 8:44 Fabio M. Di Nitto
0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-04-20 8:44 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=69dd1942d6d443003e6a66be5e9f5cb5bccce0e7
Commit: 69dd1942d6d443003e6a66be5e9f5cb5bccce0e7
Parent: defd0bc9a1df7b0cfeb2e16a67e89bcb71e2a3ae
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate: Mon Apr 20 10:42:57 2009 +0200
Committer: Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Mon Apr 20 10:42:57 2009 +0200
cman init: change groupd startup check
update groupd_enabled check to reflect new defaults.
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
cman/init.d/cman.in | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/cman/init.d/cman.in b/cman/init.d/cman.in
index 9206a92..49df088 100644
--- a/cman/init.d/cman.in
+++ b/cman/init.d/cman.in
@@ -304,8 +304,10 @@ qdiskd_enabled()
groupd_enabled()
{
- if [ "$(ccs_tool query /cluster/group/@groupd_compat 2>/dev/null || \
- true)" == "0" ]; then
+ groupd_compat="$(ccs_tool query /cluster/group/@groupd_compat \
+ 2>/dev/null || true)"
+
+ if [ -z "$groupd_compat" ] || [ $groupd_compat == 0 ]; then
return 1
fi
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-20 8:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-20 8:44 cluster: STABLE3 - cman init: change groupd startup check Fabio M. Di Nitto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).