/[smeserver]/rpms/e-smith-nutUPS/sme8/e-smith-nutUPS-1.2.0-notify.patch
ViewVC logotype

Contents of /rpms/e-smith-nutUPS/sme8/e-smith-nutUPS-1.2.0-notify.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Tue Oct 7 18:48:20 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
Error occurred while calculating annotation data.
FILE REMOVED
New streams

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/ups/upsmon.conf/NOTIFYFLAG mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/ups/upsmon.conf/NOTIFYFLAG
2 --- e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/ups/upsmon.conf/NOTIFYFLAG 1969-12-31 17:00:00.000000000 -0700
3 +++ mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/ups/upsmon.conf/NOTIFYFLAG 2007-01-04 11:24:34.000000000 -0700
4 @@ -0,0 +1,9 @@
5 +NOTIFYFLAG COMMBAD SYSLOG+WALL+EXEC
6 +NOTIFYFLAG COMMOK SYSLOG+WALL+EXEC
7 +NOTIFYFLAG FSD SYSLOG+WALL+EXEC
8 +NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC
9 +NOTIFYFLAG NOCOMM SYSLOG+WALL+EXEC
10 +NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC
11 +NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC
12 +NOTIFYFLAG REPLBATT SYSLOG+WALL+EXEC
13 +NOTIFYFLAG SHUTDOWN SYSLOG+WALL+EXEC
14 diff -Nur -x '*.orig' -x '*.rej' e-smith-nutUPS-1.2.0/root/sbin/e-smith/nutUPS.notify mezzanine_patched_e-smith-nutUPS-1.2.0/root/sbin/e-smith/nutUPS.notify
15 --- e-smith-nutUPS-1.2.0/root/sbin/e-smith/nutUPS.notify 2002-11-27 12:39:30.000000000 -0700
16 +++ mezzanine_patched_e-smith-nutUPS-1.2.0/root/sbin/e-smith/nutUPS.notify 2007-01-04 11:25:19.000000000 -0700
17 @@ -1,4 +1,6 @@
18 #! /bin/sh
19 -# UPS notify script. This is a placeholder.
20 +# UPS notify script.
21
22 -/bin/mail -s "$*" admin < /dev/null
23 +/bin/mail -s "$UPSNAME: $NOTIFYTYPE" admin <<END
24 +$*
25 +END

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed