Correct inccorect conf file for ssh check

This commit is contained in:
nemo 2019-06-29 11:53:24 +02:00
parent ffec20d3e7
commit d0348c8a0e
2 changed files with 2 additions and 2 deletions

View File

@ -44,3 +44,4 @@ Checked points :
- Check if auto-update script is configured (presence, executable and if cron task is configured) - Check if auto-update script is configured (presence, executable and if cron task is configured)
- Check if auto-backup script is configured (presence, executable, content, connection to remote service, if cron task is configured ...) - Check if auto-backup script is configured (presence, executable, content, connection to remote service, if cron task is configured ...)
- Print additional manual verifications (send reporting mail, if /etc conf file need to be updated, if a new kernel can be installed, if server-side for Icinga / SNMP / Munin are configured) - Print additional manual verifications (send reporting mail, if /etc conf file need to be updated, if a new kernel can be installed, if server-side for Icinga / SNMP / Munin are configured)

View File

@ -1,7 +1,6 @@
print_config_title 'CHECK SSH CONFIG' print_config_title 'CHECK SSH CONFIG'
conf_file_to_test="/etc/ssh/sshd_config"
conf_file_to_test="/etc/snmp/snmpd.conf"
# Check if conf file exist # Check if conf file exist
if [[ ! -f "${conf_file_to_test}" ]] if [[ ! -f "${conf_file_to_test}" ]]