1 |
slords |
1.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 |