Merge conflicts.

This commit is contained in:
Benoît S. 2014-10-08 12:07:41 +02:00
parent 9d2844ce1a
commit 534cb10a1b

View file

@ -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.