Added /usr/local/lynis as target for default.prf

This commit is contained in:
mboelen 2015-03-17 19:05:47 +01:00
parent 49414f8b06
commit 122d6063a9
1 changed files with 2 additions and 2 deletions

4
lynis
View File

@ -23,7 +23,7 @@
# Program information
PROGRAM_name="Lynis"
PROGRAM_version="2.1.0"
PROGRAM_releasedate="25 February 2015"
PROGRAM_releasedate="17 March 2015"
PROGRAM_author="CISOfy"
PROGRAM_author_contact="lynis-dev@cisofy.com"
PROGRAM_website="https://cisofy.com"
@ -282,7 +282,7 @@
# Try to find a default profile file, if none is specified
if [ "${PROFILE}" = "" ]; then
tPROFILE_TARGETS="/usr/local/etc/lynis/default.prf /etc/lynis/default.prf ./default.prf"
tPROFILE_TARGETS="/usr/local/etc/lynis/default.prf /etc/lynis/default.prf /usr/local/lynis/default.prf ./default.prf"
for I in ${tPROFILE_TARGETS}; do
if [ -f ${I} ]; then PROFILE=${I}; fi
done