File: 01-commfailure.patch

package info (click to toggle)
apcupsd 3.14.14-3.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 7,480 kB
  • sloc: ansic: 24,826; cpp: 9,230; sh: 4,484; makefile: 1,189; tcl: 368; objc: 317; php: 107
file content (15 lines) | stat: -rw-r--r-- 519 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Tero Janka <tero.janka@mbnet.fi>
Description: apcaccess call blocking commfailure mails (Closes: #409734).

Index: apcupsd/platforms/etc/commfailure.in
===================================================================
--- apcupsd.orig/platforms/etc/commfailure.in
+++ apcupsd/platforms/etc/commfailure.in
@@ -13,7 +13,5 @@ MSG="$HOSTNAME Communications with UPS $
    echo "Subject: $MSG"
    echo " "
    echo "$MSG"
-   echo " "
-   @sbindir@/apcaccess status
 ) | $APCUPSD_MAIL -s "$MSG" $SYSADMIN
 exit 0