Skip to content
Permalink
Browse files

Interpret NULL as disabled

  • Loading branch information...
NEMS Linux
NEMS Linux committed Mar 7, 2019
1 parent 2815bbb commit afd7fdd8786f75f6d82050bab6c869cc44cde950
Showing with 3 additions and 3 deletions.
  1. +3 −3 fixes.sh
@@ -370,9 +370,9 @@ if (( $(awk 'BEGIN {print ("'$ver'" >= "'1.5'")}') )); then
fi

# Allow unauthenticated SMTP
# if ! grep -q "NEMS00001" /usr/local/nagios/libexec/nems_sendmail_host; then
# cp -f /root/nems/nems-migrator/data/1.5/nagios/plugins/nems_sendmail_* /usr/local/nagios/libexec/
# fi
if ! grep -q "NEMS00002" /usr/local/nagios/libexec/nems_sendmail_host; then
cp -f /root/nems/nems-migrator/data/1.5/nagios/plugins/nems_sendmail_* /usr/local/nagios/libexec/
fi

fi

0 comments on commit afd7fdd

Please sign in to comment.
You can’t perform that action at this time.