diff options
author | lkoeller <lkoeller@FreeBSD.org> | 2001-12-02 21:09:52 +0800 |
---|---|---|
committer | lkoeller <lkoeller@FreeBSD.org> | 2001-12-02 21:09:52 +0800 |
commit | 4cc00e2d0962dca4e48c82ef9c9dbb6931a588c9 (patch) | |
tree | 77438f0786d08241d1c9f3519908becbfe599f69 /sysutils/apcupsd | |
parent | 48878aa9097e09515665708ac92adfc809385e87 (diff) | |
download | freebsd-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-ca | 95 |
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 !!!" |