Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2014-09-22 05:46:13 +0400
committermboelen <michael@cisofy.com>2014-09-22 05:46:13 +0400
commit595f84ae452459694ae9625baac014d117b441ae (patch)
tree6a2ae9e23adfe5d2bf4640eae23138d1735b0793
parentad4a4cc1a55e488b13b23b99811c1e6d024bcc73 (diff)
Altered /boot/config.gz into /proc/config.gz as target
-rw-r--r--include/tests_kernel4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tests_kernel b/include/tests_kernel
index 38c8a528..2a28529b 100644
--- a/include/tests_kernel
+++ b/include/tests_kernel
@@ -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"