From mboxrd@z Thu Jan 1 00:00:00 1970 From: jparsons@sourceware.org Date: 9 Aug 2006 20:05:55 -0000 Subject: [Cluster-devel] cluster/fence/init.d fenced Message-ID: <20060809200555.21067.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Branch: RHEL4 Changes by: jparsons at sourceware.org 2006-08-09 20:05:55 Modified files: fence/init.d : fenced Log message: addresses bz191899 Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/init.d/fenced.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.1.2.7&r2=1.1.2.8 --- cluster/fence/init.d/Attic/fenced 2006/01/09 20:36:54 1.1.2.7 +++ cluster/fence/init.d/Attic/fenced 2006/08/09 20:05:54 1.1.2.8 @@ -8,11 +8,6 @@ # Provides: ### END INIT INFO -. /etc/init.d/functions -[ -f /etc/sysconfig/cluster ] && . /etc/sysconfig/cluster - -LOCK_FILE="/var/lock/subsys/fenced" - # 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 @@ -20,6 +15,12 @@ # wait indefinately for fenced to start. FENCED_START_TIMEOUT=120 +. /etc/init.d/functions +[ -f /etc/sysconfig/cluster ] && . /etc/sysconfig/cluster + +LOCK_FILE="/var/lock/subsys/fenced" + + start() { echo -n "Starting fence domain:"