This is not required anymore

This commit is contained in:
Tristan PILAT 2019-03-22 17:32:20 +01:00
parent 3948702561
commit ed93ba9f5d

View file

@ -307,12 +307,6 @@ if [ "$IS_POSTGRESQL" = 1 ]; then
fi
if [ "$IS_NRPE" = 1 ]; then
fi
if [ "$IS_NRPEDAEMON" = 1 ]; then
grep -q "echo -n ' nrpe'; /usr/local/sbin/nrpe -d" /etc/rc.local || echo 'IS_NREPEDAEMON FAILED!'
fi
( pkg_info | grep -q monitoring-plugins && pkg_info | grep -q nrpe ) || echo 'IS_NRPE FAILED!'
if [[ "$VERBOSE" == 1 ]]; then
echo "nrpe and/or monitoring-plugins are not installed! Please add with pkg_add nrpe monitoring-plugins"