mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Implement suggested changes.
This commit is contained in:
parent
0d775b2827
commit
4ca4e8d937
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
: <<=cut
|
: <<=cut
|
||||||
|
|
||||||
@ -22,7 +22,6 @@ Example:
|
|||||||
|
|
||||||
[nullmailer_queue]
|
[nullmailer_queue]
|
||||||
user nullmail
|
user nullmail
|
||||||
|
|
||||||
env.queuedir /var/spool/nullmailer/queue
|
env.queuedir /var/spool/nullmailer/queue
|
||||||
env.errordir /var/spool/nullmailer/failed
|
env.errordir /var/spool/nullmailer/failed
|
||||||
|
|
||||||
@ -56,8 +55,8 @@ errordir=${errordir:-/var/spool/nullmailer/failed}
|
|||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
autoconf)
|
autoconf)
|
||||||
if hash nullmailer-queue &> /dev/null; then
|
if hash nullmailer-queue >/dev/null 2>/dev/null; then
|
||||||
[[ -r "$queuedir" ]] && echo yes || echo "no (queue dir not readable)"
|
[ -r "$queuedir" ] && echo yes || echo "no (queue dir not readable)"
|
||||||
else
|
else
|
||||||
echo "no (nullmailer not installed)"
|
echo "no (nullmailer not installed)"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user