[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] Cluster Project branch, master, updated. cluster-2.99.06-76-g8b939cb



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=8b939cb1231ad3ff267e0d94f4937edfe2a54908

The branch, master has been updated
       via  8b939cb1231ad3ff267e0d94f4937edfe2a54908 (commit)
      from  e14f8997dc1e672523fbf4f942ddc0a75ae9b8a1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8b939cb1231ad3ff267e0d94f4937edfe2a54908
Author: Fabio M. Di Nitto <fdinitto redhat com>
Date:   Mon Jul 28 06:34:52 2008 +0200

    rgmanager: init script does not need network config
    
    rgmanager init LSB header already express the requirement for network
    via Required-Start: cman that in chain Required-Start: $network.
    
    Lack of network will not start cman and as consequence rgmanager.
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto redhat com>

-----------------------------------------------------------------------

Summary of changes:
 rgmanager/init.d/rgmanager |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/rgmanager/init.d/rgmanager b/rgmanager/init.d/rgmanager
index 6ae333a..d307c17 100644
--- a/rgmanager/init.d/rgmanager
+++ b/rgmanager/init.d/rgmanager
@@ -16,9 +16,6 @@
 # Source function library
 . /etc/init.d/functions
 
-# Grab the network config file
-. /etc/sysconfig/network
-
 # Grab cluster start config if it exists
 [ -f /etc/sysconfig/cluster ] && . /etc/sysconfig/cluster
 
@@ -83,14 +80,6 @@ stop_cluster()
 
 case $1 in
 	start)
-		#
-		# If we're not configured, then don't start anything.
-		#
-		if [ "${NETWORKING}" != "yes" ]; then
-			echo "Cannot start $ID: Networking not configured"
-			exit 1
-		fi
-
 		echo -n $"Starting $ID: "
 		daemon $RGMGRD $RGMGR_OPTS
 		ret=$?


hooks/post-receive
--
Cluster Project


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]