SOURCES: nagios-notify.sh - cleanup
glen
glen at pld-linux.org
Thu Aug 3 14:36:11 CEST 2006
Author: glen Date: Thu Aug 3 12:36:11 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- cleanup
---- Files affected:
SOURCES:
nagios-notify.sh (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/nagios-notify.sh
diff -u SOURCES/nagios-notify.sh:1.1 SOURCES/nagios-notify.sh:1.2
--- SOURCES/nagios-notify.sh:1.1 Thu Aug 3 14:31:59 2006
+++ SOURCES/nagios-notify.sh Thu Aug 3 14:36:06 2006
@@ -7,7 +7,6 @@
# Date: 2006-08-03
# License: Same as Nagios (GPL v2)
#
-. ./env1.txt
templatedir='/etc/nagios/templates'
@@ -28,7 +27,6 @@
# extract nagios version from status file
export NAGIOS_VERSION=$(awk -F= '/version=/{print $2}' $NAGIOS_STATUSDATAFILE)
-tmpl="$1"
tmpl="$templatedir/$1.tmpl"
if [ ! -f "$tmpl" ]; then
echo >&2 "$0: template '$tmpl' can not be found!"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/nagios-notify.sh?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list