A new user interface for you! Read more...

File cman_init_fix_stop_remove_operation.patch of Package cluster

From 43fbabb3658f4eda981d18413ae337e78294d38b Mon Sep 17 00:00:00 2001
From: Fabio M. Di Nitto <fdinitto@redhat.com>
Date: Tue, 28 Sep 2010 13:15:24 +0200
Subject: [PATCH] cman init: fix "stop remove" operation

re-instate support for stop remove that was erroneusly dropped

Resolves: rhbz#634718

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 cman/init.d/cman.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/cman/init.d/cman.in b/cman/init.d/cman.in
index 787000f..50df96d 100644
--- a/cman/init.d/cman.in
+++ b/cman/init.d/cman.in
@@ -842,6 +842,9 @@ start)
 ;;
 stop)
 	cmanremove=""
+	if [ -n "$2" ] && [ "$2" = "remove" ]; then
+		cmanremove=remove
+	fi
 	stop && rm -f $LOCK_FILE
 	if [ "$INITLOGLEVEL" = "quiet" ]; then
 		success
-- 
1.7.2.3