Reversed file check on /dev/pf

This commit is contained in:
Michael Boelen 2016-10-15 15:28:22 +02:00
parent 81024635aa
commit c4b6aab8c7
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@
# Test : FIRE-4518
# Description : Checking status of pf firewall components
# Notes : Use /dev/pf as first detection method if pf is available
if [ ! -e /dev/pf ]; then PREQS_MET="YES"; SKIPREASON=""; else PREQS_MET="NO"; SKIPREASON="No /dev/pf file"; fi
if [ -e /dev/pf ]; then PREQS_MET="YES"; SKIPREASON=""; else PREQS_MET="NO"; SKIPREASON="No /dev/pf device"; fi
Register --test-no FIRE-4518 --preqs-met ${PREQS_MET} --skip-reason "${SKIPREASON}" --weight L --network NO --category security --description "Check pf firewall components"
if [ ${SKIPTEST} -eq 0 ]; then
PFFOUND=0; PFLOGDFOUND=0