Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/amavis/amavis-debian | ||
|---|---|---|
| 1 | 1 |
#!/bin/sh |
| 2 |
#
|
|
| 2 |
# |
|
| 3 | 3 |
# Plugin to monitor the amavis mail filter for Debian |
| 4 | 4 |
# (based upon a plugin authored by Geoffroy Desvernay) |
| 5 | 5 |
# |
| ... | ... | |
| 32 | 32 |
|
| 33 | 33 |
mktempfile () {
|
| 34 | 34 |
mktemp |
| 35 |
}
|
|
| 35 |
} |
|
| 36 | 36 |
|
| 37 | 37 |
if [ "$1" = "autoconf" ]; then |
| 38 | 38 |
if [ -f "${AMAVIS_LOG}" -a -n "${LOGTAIL}" -a -x "${LOGTAIL}" -a -n "${BC}" -a -x "${BC}" ] ; then
|
| ... | ... | |
| 96 | 96 |
virus=`grep 'INFECTED' ${TEMP_FILE} | wc -l`
|
| 97 | 97 |
spam=`grep 'Blocked SPAM' ${TEMP_FILE} | wc -l`
|
| 98 | 98 |
other=`echo ${total}-${clean}-${virus}-${other}-${spam} | ${BC}`
|
| 99 |
|
|
| 99 |
|
|
| 100 | 100 |
/bin/rm -f $TEMP_FILE |
| 101 | 101 |
fi |
| 102 | 102 |
|
Formats disponibles : Unified diff