summaryrefslogtreecommitdiff
path: root/sysutils/apcupsd
diff options
context:
space:
mode:
authorLars Koeller <lkoeller@FreeBSD.org>2001-12-02 13:09:52 +0000
committerLars Koeller <lkoeller@FreeBSD.org>2001-12-02 13:09:52 +0000
commit7cbe6d42f43e848051112c2bacc5e400c4fa737d (patch)
treeff0e7809647295f824be9da4e98a0f176866b341 /sysutils/apcupsd
parent* Replace pkg-message about setting BABEL_DIR with a wrapper script (diff)
Patchfile for fixing wrong path to mail binary.
Notes
Notes: svn path=/head/; revision=50856
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 !!!"