aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/apcupsd
diff options
context:
space:
mode:
authorlkoeller <lkoeller@FreeBSD.org>2001-12-02 21:09:52 +0800
committerlkoeller <lkoeller@FreeBSD.org>2001-12-02 21:09:52 +0800
commit4cc00e2d0962dca4e48c82ef9c9dbb6931a588c9 (patch)
tree77438f0786d08241d1c9f3519908becbfe599f69 /sysutils/apcupsd
parent48878aa9097e09515665708ac92adfc809385e87 (diff)
downloadfreebsd-ports-gnome-4cc00e2d0962dca4e48c82ef9c9dbb6931a588c9.tar.gz
freebsd-ports-gnome-4cc00e2d0962dca4e48c82ef9c9dbb6931a588c9.tar.zst
freebsd-ports-gnome-4cc00e2d0962dca4e48c82ef9c9dbb6931a588c9.zip
Patchfile for fixing wrong path to mail binary.
Diffstat (limited to 'sysutils/apcupsd')
-rw-r--r--sysutils/apcupsd/files/patch-ca95
1 files changed, 95 insertions, 0 deletions
diff --git a/sysutils/apcupsd/files/patch-ca b/sysutils/apcupsd/files/patch-ca
new file mode 100644
index 000000000000..f13700d651b0
--- /dev/null
+++ b/sysutils/apcupsd/files/patch-ca
@@ -0,0 +1,95 @@
+*** etc/changeme.in~ Mon Mar 12 16:22:57 2001
+--- etc/changeme.in Sun Dec 2 13:44:38 2001
+***************
+*** 6,12 ****
+ # We send an email message to root to notify him.
+ #
+ SYSADMIN=root
+! MAIL="/bin/mail"
+
+ HOSTNAME=`hostname`
+ MSG="$HOSTNAME UPS battery needs changing NOW."
+--- 6,12 ----
+ # We send an email message to root to notify him.
+ #
+ SYSADMIN=root
+! MAIL="/usr/bin/mail"
+
+ HOSTNAME=`hostname`
+ MSG="$HOSTNAME UPS battery needs changing NOW."
+*** etc/commfailure.in~ Mon Mar 12 16:22:57 2001
+--- etc/commfailure.in Sun Dec 2 13:45:25 2001
+***************
+*** 6,12 ****
+ # We send an email message to root to notify him.
+ #
+ SYSADMIN=root
+! MAIL="/bin/mail"
+
+ HOSTNAME=`hostname`
+ MSG="$HOSTNAME Serial port communications with UPS lost"
+--- 6,12 ----
+ # We send an email message to root to notify him.
+ #
+ SYSADMIN=root
+! MAIL="/usr/bin/mail"
+
+ HOSTNAME=`hostname`
+ MSG="$HOSTNAME Serial port communications with UPS lost"
+*** etc/commok.in~ Mon Mar 12 16:22:58 2001
+--- etc/commok.in Sun Dec 2 13:45:17 2001
+***************
+*** 6,12 ****
+ # We send an email message to root to notify him.
+ #
+ SYSADMIN=root
+! MAIL="/bin/mail"
+
+ HOSTNAME=`hostname`
+ MSG="$HOSTNAME Serial port communications with UPS restored"
+--- 6,12 ----
+ # We send an email message to root to notify him.
+ #
+ SYSADMIN=root
+! MAIL="/usr/bin/mail"
+
+ HOSTNAME=`hostname`
+ MSG="$HOSTNAME Serial port communications with UPS restored"
+*** etc/mainsback.in~ Mon Mar 12 16:22:58 2001
+--- etc/mainsback.in Sun Dec 2 13:45:11 2001
+***************
+*** 6,12 ****
+ # We send an email message to root to notify him.
+ #
+ SYSADMIN=root
+! MAIL="/bin/mail"
+
+ HOSTNAME=`hostname`
+ MSG="$HOSTNAME Power has returned"
+--- 6,12 ----
+ # We send an email message to root to notify him.
+ #
+ SYSADMIN=root
+! MAIL="/usr/bin/mail"
+
+ HOSTNAME=`hostname`
+ MSG="$HOSTNAME Power has returned"
+*** etc/onbattery.in~ Mon Mar 12 16:22:57 2001
+--- etc/onbattery.in Sun Dec 2 13:45:05 2001
+***************
+*** 6,12 ****
+ # We send an email message to root to notify him.
+ #
+ SYSADMIN=root
+! MAIL="/bin/mail"
+
+ HOSTNAME=`hostname`
+ MSG="$HOSTNAME Power Failure !!!"
+--- 6,12 ----
+ # We send an email message to root to notify him.
+ #
+ SYSADMIN=root
+! MAIL="/usr/bin/mail"
+
+ HOSTNAME=`hostname`
+ MSG="$HOSTNAME Power Failure !!!"