mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Implement suggested changes.
This commit is contained in:
parent
0d775b2827
commit
4ca4e8d937
1 changed files with 3 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue