--- /etc/init.d/cman.bak	2008-10-17 11:22:22.000000000 +0200
+++ /etc/init.d/cman	2008-10-17 18:43:03.000000000 +0200
@@ -32,6 +32,9 @@
 #     default is 60 seconds
 [ -z "$CMAN_SHUTDOWN_TIMEOUT" ] && CMAN_SHUTDOWN_TIMEOUT=60
 
+# CMAN_EXPECTED_QUORUM -- expected votes after the startup.
+[ -z "$CMAN_EXPECTED_QUORUM" ] && CMAN_EXPECTED_QUORUM=0
+
 # FENCED_START_TIMEOUT -- amount of time to wait for starting fenced
 #     before giving up.  If FENCED_START_TIMEOUT is positive, then we will
 #     wait FENCED_START_TIMEOUT seconds before giving up and failing when
@@ -93,6 +96,11 @@
 	    errmsg=$( /usr/sbin/cman_tool -t $CMAN_QUORUM_TIMEOUT \
 		    -q wait 2>&1 ) || return 1
 	fi
+	if [ $CMAN_EXPECTED_QUORUM -gt 0 ]
+	then
+	    errmsg=$( /usr/sbin/cman_tool \
+		expected -e $CMAN_EXPECTED_QUORUM 2>&1 ) || return 1
+	fi
     fi
     return 0
 }
