Merge conflicts.
This commit is contained in:
parent
9d2844ce1a
commit
534cb10a1b
11
evocheck.sh
11
evocheck.sh
|
@ -127,6 +127,17 @@ if [ -e /etc/debian_version ]; then
|
|||
echo 'IS_DPKGWARNING FAILED!'
|
||||
fi
|
||||
|
||||
if [ "$IS_CUSTOMSUDOERS" = 1 ]; then
|
||||
egrep -qs "Defaults.*umask=0077" /etc/sudoers /etc/sudoers.d/evolinux || \
|
||||
echo 'IS_CUSTOMSUDOERS FAILED!'
|
||||
fi
|
||||
|
||||
# Verifying check_mailq in Nagios NRPE config file. (Option "-M postfix" need to be set if the MTA is Postfix)
|
||||
if [ "$IS_NRPEPOSTFIX" = 1 ]; then
|
||||
is_installed postfix && \
|
||||
(grep -qs "^command.*check_mailq -M postfix" /etc/nagios/nrpe.cfg /etc/nagios/nrpe.d/evolix.cfg || \
|
||||
echo 'IS_NRPEPOSTFIX FAILED!')
|
||||
fi
|
||||
fi
|
||||
|
||||
# Compatible Squeeze & Wheezy.
|
||||
|
|
Loading…
Reference in a new issue