mirror of https://github.com/CISOfy/lynis.git
touchup BOOT_LOADER_SEARCHED setting for BOOT-5106 and BOOT-5108 (#511)
This commit is contained in:
parent
6e549eb545
commit
6c257d6224
|
@ -148,6 +148,7 @@
|
|||
# Description : Check if boot.efi is found on macOS/macOS
|
||||
Register --test-no BOOT-5106 --os "macOS" --weight L --network NO --root-only YES --category security --description "Check EFI boot file on Mac OS X/macOS"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
BOOT_LOADER_SEARCHED=1
|
||||
FileExists ${ROOTDIR}System/Library/CoreServices/boot.efi
|
||||
if [ ${FILE_FOUND} -eq 1 ]; then
|
||||
LogText "Result: found macOS/Mac OS X boot.efi file"
|
||||
|
@ -162,6 +163,7 @@
|
|||
# Description : Check for Syslinux
|
||||
Register --test-no BOOT-5108 --os "Linux" --weight L --network NO --root-only YES --category security --description "Check Syslinux as bootloader"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
BOOT_LOADER_SEARCHED=1
|
||||
FileExists ${ROOTDIR}boot/syslinux/syslinux.cfg
|
||||
if [ ${FILE_FOUND} -eq 1 ]; then
|
||||
LogText "Result: found Syslinux"
|
||||
|
|
Loading…
Reference in New Issue