cluster: STABLE31 - cman init: another fix to network manager detection
Fabio M. Di Nitto
fabbione at fedoraproject.org
Mon Feb 7 16:33:57 UTC 2011
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=ada14ea123c508224f758cd2eb8c5a51c3c19dc0
Commit: ada14ea123c508224f758cd2eb8c5a51c3c19dc0
Parent: cbf98a5623e7177d497092f7a7b0e170b8b3177e
Author: Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate: Mon Feb 7 17:33:21 2011 +0100
Committer: Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Mon Feb 7 17:33:21 2011 +0100
cman init: another fix to network manager detection
Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
cman/init.d/cman.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cman/init.d/cman.in b/cman/init.d/cman.in
index 45a607e..fbca2fb 100644
--- a/cman/init.d/cman.in
+++ b/cman/init.d/cman.in
@@ -317,7 +317,7 @@ cluster_disabled_at_boot()
network_manager_enabled()
{
- if status NetworkManager > /dev/null 2>&1 || \
+ if status $netmanager > /dev/null 2>&1 || \
chkconfig2 $netmanager; then
errmsg="\nNetwork Manager is either running or configured to run. Please disable it in the cluster."
return 1
More information about the cluster-commits
mailing list