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
|
||||
|
||||
@ -22,7 +22,6 @@ Example:
|
||||
|
||||
[nullmailer_queue]
|
||||
user nullmail
|
||||
|
||||
env.queuedir /var/spool/nullmailer/queue
|
||||
env.errordir /var/spool/nullmailer/failed
|
||||
|
||||
@ -56,8 +55,8 @@ errordir=${errordir:-/var/spool/nullmailer/failed}
|
||||
|
||||
case $1 in
|
||||
autoconf)
|
||||
if hash nullmailer-queue &> /dev/null; then
|
||||
[[ -r "$queuedir" ]] && echo yes || echo "no (queue dir not readable)"
|
||||
if hash nullmailer-queue >/dev/null 2>/dev/null; then
|
||||
[ -r "$queuedir" ] && echo yes || echo "no (queue dir not readable)"
|
||||
else
|
||||
echo "no (nullmailer not installed)"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user