[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    [Linux-ha-dev] [PATCH][STABLE_1_2_3] misc cleanup in
From:       Roberto Nibali <ratz () drugphish ! ch>
Date:       2004-12-14 14:45:03
Message-ID: 41BEFC6F.6000104 () drugphish ! ch
[Download RAW message or body]

Hi,

o use $HADIR as it is already assigned further up the code in
   BasicSanityCheck.in
o remove excrescent HBStatus call in BasicSanityCheck.in

Index: heartbeat/lib/BasicSanityCheck.in
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/heartbeat/lib/BasicSanityCheck.in,v
retrieving revision 1.19.2.13
diff -u -r1.19.2.13 BasicSanityCheck.in
--- heartbeat/lib/BasicSanityCheck.in   17 Sep 2004 06:44:40 -0000 
1.19.2.13
+++ heartbeat/lib/BasicSanityCheck.in   14 Dec 2004 14:44:12 -0000
@@ -47,7 +47,7 @@
  RSCDIR=$HADIR/resource.d
  errcount=0

-cd @sysconfdir@/ha.d
+cd $HADIR
  ulimit -c unlimited

  GetAllIFNames() {
@@ -260,7 +260,6 @@
      HBStatus
    then
      echo "That's weird.  Heartbeat seems to be running..."
-    HBStatus
      HBStop
    fi
    if

Please consider applying,
Roberto Nibali, ratz
-- 
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic