mirror of https://github.com/CISOfy/lynis.git
Added /usr/local/lynis as target for default.prf
This commit is contained in:
parent
49414f8b06
commit
122d6063a9
4
lynis
4
lynis
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue