packages: nagios-ocpd/ocpd.init - fix service_name

glen glen at pld-linux.org
Mon Oct 12 14:24:01 CEST 2009


Author: glen                         Date: Mon Oct 12 12:24:01 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix service_name

---- Files affected:
packages/nagios-ocpd:
   ocpd.init (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/nagios-ocpd/ocpd.init
diff -u packages/nagios-ocpd/ocpd.init:1.1 packages/nagios-ocpd/ocpd.init:1.2
--- packages/nagios-ocpd/ocpd.init:1.1	Wed Aug  5 02:30:27 2009
+++ packages/nagios-ocpd/ocpd.init	Mon Oct 12 14:23:54 2009
@@ -92,7 +92,7 @@
 
 	if [ $details = 1 ]; then
 		# run config test and display report (status action)
-		show "Checking %s configuration" "<service_name>"; busy
+		show "Checking %s configuration" "Nagios OCHS Processor Daemon"; busy
 		local out
 		out=`configtest 2>&1`
 		RETVAL=$?
@@ -108,7 +108,7 @@
 		configtest >/dev/null 2>&1
 		RETVAL=$?
 		if [ $RETVAL != 0 ]; then
-			show "Checking %s configuration" "<service_name>"; fail
+			show "Checking %s configuration" "Nagios OCHS Processor Daemon"; fail
 			nls 'Configuration test failed. See details with %s "checkconfig"' $0
 			exit $RETVAL
 		fi
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-ocpd/ocpd.init?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list