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:
parent
06e3d98c91
commit
403a5b5651
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user