[Nagiosplug-checkins] CVS: nagiosplug/plugins-scripts subst.in,1.2,1.3 utils.sh.in,1.1.1.1,1.2

Subhendu Ghosh sghosh at users.sourceforge.net
Wed Jun 5 21:17:04 CEST 2002


Update of /cvsroot/nagiosplug/nagiosplug/plugins-scripts
In directory usw-pr-cvs1:/tmp/cvs-serv30642

Modified Files:
	subst.in utils.sh.in 
Log Message:
corrected result codes - for sh; corrected substition for libexec - Tom Bertelson

Index: subst.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/subst.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** subst.in	18 Mar 2002 05:15:04 -0000	1.2
--- subst.in	6 Jun 2002 04:16:56 -0000	1.3
***************
*** 30,34 ****
  	
  	}
! 	return led1;
  }
  
--- 30,34 ----
  	
  	}
! 	return "\"" led1 "\"" ;
  }
  

Index: utils.sh.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/utils.sh.in,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** utils.sh.in	28 Feb 2002 06:43:00 -0000	1.1.1.1
--- utils.sh.in	6 Jun 2002 04:16:56 -0000	1.2
***************
*** 1,9 ****
  #! /bin/sh
  
- STATE_DEPENDENT=-2
- STATE_UNKNOWN=-1
  STATE_OK=0
  STATE_WARNING=1
  STATE_CRITICAL=2
  
  if test -x /usr/bin/printf; then
--- 1,9 ----
  #! /bin/sh
  
  STATE_OK=0
  STATE_WARNING=1
  STATE_CRITICAL=2
+ STATE_UNKNOWN=3
+ STATE_DEPENDENT=4
  
  if test -x /usr/bin/printf; then
***************
*** 20,22 ****
  support() {
  	$ECHO "@SUPPORT@" | /bin/sed -e 's/\n/ /g'
! }
\ No newline at end of file
--- 20,23 ----
  support() {
  	$ECHO "@SUPPORT@" | /bin/sed -e 's/\n/ /g'
! }
! 





More information about the Commits mailing list