Allow parsing of multiple profiles

This commit is contained in:
mboelen 2016-04-07 16:25:11 +02:00
parent 810c37287f
commit 066f562365
1 changed files with 170 additions and 166 deletions

View File

@ -22,7 +22,9 @@
#
#################################################################################
#
Display --indent 2 --text "- Checking profile file (${PROFILE})..."
Display --indent 2 --text "- Checking profiles..."
for PROFILE in ${PROFILES}; do
logtext "Reading profile/configuration ${PROFILE}"
FIND=`grep '^config:' ${PROFILE} | sed 's/ /!space!/g'`
for I in ${FIND}; do
@ -91,6 +93,7 @@
DEBUG=1
fi
;;
# Skip FreeBSD port audit
freebsd_skip_portaudit)
logtext "Option set: Skip FreeBSD portaudit"
@ -224,6 +227,7 @@
esac
done
done
#
#################################################################################
#