mirror of https://github.com/CISOfy/lynis.git
Fix developer profile
Initialialize a few variables to let --profile developer.prf pass. Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
This commit is contained in:
parent
6356b3adb1
commit
e98fcb9b73
|
@ -98,6 +98,7 @@ unset LANG
|
||||||
DEBSUMSBINARY=""
|
DEBSUMSBINARY=""
|
||||||
DEVELOPER_MODE=0
|
DEVELOPER_MODE=0
|
||||||
DEVOPS_MODE=0
|
DEVOPS_MODE=0
|
||||||
|
DIGBINARY=""
|
||||||
DISABLED_PLUGINS=""
|
DISABLED_PLUGINS=""
|
||||||
DISCOVERED_BINARIES=""
|
DISCOVERED_BINARIES=""
|
||||||
DMIDECODEBINARY=""
|
DMIDECODEBINARY=""
|
||||||
|
@ -148,6 +149,7 @@ unset LANG
|
||||||
LOCATEBINARY=""
|
LOCATEBINARY=""
|
||||||
LOGFILE=""
|
LOGFILE=""
|
||||||
LOGDIR=""
|
LOGDIR=""
|
||||||
|
LOGROTATEBINARY=""
|
||||||
LOGTEXT=1
|
LOGTEXT=1
|
||||||
LSMODBINARY=""
|
LSMODBINARY=""
|
||||||
LSOFBINARY=""
|
LSOFBINARY=""
|
||||||
|
|
|
@ -669,6 +669,7 @@
|
||||||
LogText "Result: found ${FOUND_VMLINUZ}"
|
LogText "Result: found ${FOUND_VMLINUZ}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
VERSION_ON_DISK=""
|
||||||
if [ -L "${FOUND_VMLINUZ}" ]; then
|
if [ -L "${FOUND_VMLINUZ}" ]; then
|
||||||
LogText "Result: found a symlink, retrieving destination"
|
LogText "Result: found a symlink, retrieving destination"
|
||||||
FOUND_VMLINUZ=$(readlink "${FOUND_VMLINUZ}")
|
FOUND_VMLINUZ=$(readlink "${FOUND_VMLINUZ}")
|
||||||
|
|
Loading…
Reference in New Issue