mirror of https://github.com/CISOfy/lynis.git
Altered /boot/config.gz into /proc/config.gz as target
This commit is contained in:
parent
ad4a4cc1a5
commit
595f84ae45
|
@ -234,10 +234,10 @@
|
|||
LINUXCONFIGFILE="${CHECKFILE}"
|
||||
logtext "Result: found config (${LINUXCONFIGFILE})"
|
||||
Display --indent 2 --text "- Checking Linux kernel configuration file" --result FOUND --color GREEN
|
||||
elif [ -f /boot/config.gz ]; then
|
||||
elif [ -f /proc/config.gz ]; then
|
||||
LINUXCONFIGFILE="${CHECKFILE}"
|
||||
LINUXCONFIGFILE_ZIPPED=1
|
||||
logtext "Result: found config: /boot/config.gz (compressed)"
|
||||
logtext "Result: found config: /proc/config.gz (compressed)"
|
||||
Display --indent 2 --text "- Checking Linux kernel configuration file" --result FOUND --color GREEN
|
||||
else
|
||||
logtext "Result: no Linux kernel configuration file found in /boot"
|
||||
|
|
Loading…
Reference in New Issue