1
0
mirror of https://github.com/CISOfy/lynis.git synced 2025-04-08 17:15:25 +02:00

Update tests_boot_services

Modify CONF_FILES variable
This commit is contained in:
teoberi 2021-01-09 17:58:02 +02:00 committed by GitHub
parent 06e3d98c91
commit 403a5b5651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -489,7 +489,7 @@
Register --test-no BOOT-5140 --os "Linux" --weight L --network NO --root-only YES --category security --description "Check for ELILO boot loader presence"
if [ ${SKIPTEST} -eq 0 ]; then
BOOT_LOADER_SEARCHED=1
CONF_FILES="${ROOTDIR}etc/elilo.conf ${ROOTDIR}boot/efi/EFI/Slackware/elilo.conf"
CONF_FILES="${ROOTDIR}etc/elilo.conf ${ROOTDIR}boot/efi/EFI/${LINUX_VERSION}/elilo.conf"
for FILE in ${CONF_FILES}; do
FileExists ${FILE}
if [ ${FILE_FOUND} -eq 1 ]; then