Update of /cvsroot/devil-linux/build/scripts
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv4208
Modified Files:
heartbeat
Log Message:
- added Python dependency
Index: heartbeat
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/heartbeat,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- heartbeat 22 Oct 2007 13:13:07 -0000 1.12
+++ heartbeat 7 Jan 2009 06:06:08 -0000 1.13
@@ -28,6 +28,7 @@
case $1 in
build )
if [ "$CONFIG_HEARTBEAT" = "y" ]; then
+ if [ "$CONFIG_PYTHON" = "y" ]; then
if [ "$CONFIG_NET_SNMP" != "y" ]; then
SNMP="--disable-snmp"
fi
@@ -38,11 +39,13 @@
make $PMAKE all || exit 1
strip_debug
+ fi
fi
;;
install )
if [ "$CONFIG_HEARTBEAT" = "y" ]; then
+ if [ "$CONFIG_PYTHON" = "y" ]; then
rm -rf $TMPDIR || exit 1
mkdir -p $TMPDIR || exit 1
@@ -74,6 +77,7 @@
echo "START_$MYNAME=no" >> $CONFIGFILE
echo >> $CONFIGFILE
echo "HELP_$MYNAME=\"$MYNAME is to monitor remote servers (works with heartbeat)\"" >> $SOFTWAREHELP
+ fi
fi
;;
|