rgmanger: remove check on cluster.conf from rgmanager init script
authorAndrew Price <andy@andrewprice.me.uk>
Fri, 25 Jul 2008 09:02:48 +0000 (11:02 +0200)
committerFabio M. Di Nitto <fdinitto@redhat.com>
Fri, 25 Jul 2008 09:02:48 +0000 (11:02 +0200)
cluster.conf is not the only authoritative configuration file anymore.
LDAP and others could be in place.

Remove the check and allow rgmanager to start.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
rgmanager/init.d/Makefile
rgmanager/init.d/rgmanager [moved from rgmanager/init.d/rgmanager.in with 97% similarity]

index 3f5104d7cb67ecba734e33e9c78d16a84a8e4cf4..5ead895188118d9742e5a7c84bbeb2c794041fe9 100644 (file)
@@ -2,20 +2,12 @@ TARGET= rgmanager
 
 INITDT=$(TARGET)
 
-all: $(TARGET)
+all:
 
 include ../../make/defines.mk
-include $(OBJDIR)/make/clean.mk
 include $(OBJDIR)/make/install.mk
 include $(OBJDIR)/make/uninstall.mk
 
-$(TARGET):
-       cat $(S)/$(TARGET).in | sed \
-               -e 's#@CONFDIR@#${CONFDIR}#g' \
-               -e 's#@CONFFILE@#${CONFFILE}#g' \
-       > $(TARGET)
-       chmod 755 $(TARGET)
-
 clean: generalclean
 
 check:
similarity index 97%
rename from rgmanager/init.d/rgmanager.in
rename to rgmanager/init.d/rgmanager
index 57269ef93a5ca05c7a9195e1fd05c42fb55939dc..6ae333adac48212d173015b2352c9401f7330ade 100644 (file)
@@ -28,7 +28,6 @@ export PATH
 
 ID="Cluster Service Manager"
 RGMGRD="clurgmgrd"
-CFG_FILE="@CONFDIR@/@CONFFILE@"
 
 LOG_ERR=3
 LOG_WARNING=4
@@ -91,7 +90,6 @@ case $1 in
                        echo "Cannot start $ID: Networking not configured"
                        exit 1
                fi
-               [ -f "$CFG_FILE" ] || exit 0
 
                echo -n $"Starting $ID: "
                daemon $RGMGRD $RGMGR_OPTS
This page took 0.090737 seconds and 5 git commands to generate.