Send Linux-ha-cvs mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."
Today's Topics:
1. Linux-HA CVS: resources by alan from
([email protected])
----------------------------------------------------------------------
Message: 1
Date: Sat, 10 Jun 2006 11:33:30 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: resources by alan from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : alan
Host :
Project : linux-ha
Module : resources
Dir : linux-ha/resources/OCF
Modified Files:
IPaddr.in IPaddr2.in
Log Message:
Fixed a stupid error I put in, plus made some unnecessary messages go away...
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/resources/OCF/IPaddr.in,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- IPaddr.in 9 Jun 2006 19:01:32 -0000 1.40
+++ IPaddr.in 10 Jun 2006 17:33:30 -0000 1.41
@@ -211,7 +211,7 @@
# $FINDIF can NOT deal with the condition of empty intermediate
parameters.
#
if
- [ -n "OCF_RESKEY_netmask" -a -z "OCF_RESKEY_cidr_netmask" ]
+ [ ! -z "$OCF_RESKEY_netmask" -a -z "$OCF_RESKEY_cidr_netmask" ]
then
ocf_log err "Obsolete parameter netmask supplied"
ocf_log info "Please use cidr_netmask instead."
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/resources/OCF/IPaddr2.in,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- IPaddr2.in 9 Jun 2006 19:01:32 -0000 1.18
+++ IPaddr2.in 10 Jun 2006 17:33:30 -0000 1.19
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $Id: IPaddr2.in,v 1.18 2006/06/09 19:01:32 alan Exp $
+# $Id: IPaddr2.in,v 1.19 2006/06/10 17:33:30 alan Exp $
#
# OCF Resource Agent compliant IPaddr2 script.
#
@@ -256,7 +256,7 @@
BRDCAST="$OCF_RESKEY_broadcast"
NIC="$OCF_RESKEY_nic"
if
- [ -n "$OCF_RESKEY_netmask" -a -z "$OCF_RESKEY_cidr_netmask" ]
+ [ ! -z "$OCF_RESKEY_netmask" -a -z "$OCF_RESKEY_cidr_netmask" ]
then
ocf_log err "Obsolete parameter netmask supplied"
ocf_log info "Please use cidr_netmask instead."
------------------------------
_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
End of Linux-ha-cvs Digest, Vol 31, Issue 34
********************************************