1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
Description: avoid exclusionary language in configuration files
Index: apcupsd/platforms/etc/changeme.in
===================================================================
--- apcupsd.orig/platforms/etc/changeme.in 2024-06-05 10:29:03.932770903 +0200
+++ apcupsd/platforms/etc/changeme.in 2024-06-05 10:32:02.705765520 +0200
@@ -3,7 +3,7 @@
# This shell script if placed in /etc/apcupsd
# will be called by /etc/apcupsd/apccontrol when apcupsd
# detects that the battery should be replaced.
-# We send an email message to root to notify him.
+# An email notification is sent to the $SYSADMIN email address defined in /etc/apcupsd/apccontrol.
#
HOSTNAME=`hostname`
Index: apcupsd/platforms/etc/commfailure.in
===================================================================
--- apcupsd.orig/platforms/etc/commfailure.in 2024-06-05 10:29:03.932770903 +0200
+++ apcupsd/platforms/etc/commfailure.in 2024-06-05 10:32:26.489898524 +0200
@@ -3,7 +3,7 @@
# This shell script if placed in /etc/apcupsd
# will be called by /etc/apcupsd/apccontrol when apcupsd
# loses contact with the UPS (i.e. the serial connection is not responding).
-# We send an email message to root to notify him.
+# An email notification is sent to the $SYSADMIN email address defined in /etc/apcupsd/apccontrol.
#
HOSTNAME=`hostname`
Index: apcupsd/platforms/etc/commok.in
===================================================================
--- apcupsd.orig/platforms/etc/commok.in 2024-06-05 10:29:03.932770903 +0200
+++ apcupsd/platforms/etc/commok.in 2024-06-05 10:32:37.257958797 +0200
@@ -3,7 +3,7 @@
# This shell script if placed in /etc/apcupsd
# will be called by /etc/apcupsd/apccontrol when apcupsd
# restores contact with the UPS (i.e. the serial connection is restored).
-# We send an email message to root to notify him.
+# An email notification is sent to the $SYSADMIN email address defined in /etc/apcupsd/apccontrol.
#
HOSTNAME=`hostname`
Index: apcupsd/platforms/etc/offbattery.in
===================================================================
--- apcupsd.orig/platforms/etc/offbattery.in 2024-06-05 10:29:03.932770903 +0200
+++ apcupsd/platforms/etc/offbattery.in 2024-06-05 10:32:48.082019406 +0200
@@ -3,7 +3,7 @@
# This shell script if placed in /etc/apcupsd
# will be called by /etc/apcupsd/apccontrol when the
# UPS goes back on to the mains after a power failure.
-# We send an email message to root to notify him.
+# An email notification is sent to the $SYSADMIN email address defined in /etc/apcupsd/apccontrol.
#
HOSTNAME=`hostname`
Index: apcupsd/platforms/etc/onbattery.in
===================================================================
--- apcupsd.orig/platforms/etc/onbattery.in 2024-06-05 10:29:03.932770903 +0200
+++ apcupsd/platforms/etc/onbattery.in 2024-06-05 10:33:00.314087944 +0200
@@ -3,7 +3,7 @@
# This shell script if placed in /etc/apcupsd
# will be called by /etc/apcupsd/apccontrol when the UPS
# goes on batteries.
-# We send an email message to root to notify him.
+# An email notification is sent to the $SYSADMIN email address defined in /etc/apcupsd/apccontrol.
#
HOSTNAME=`hostname`
|