mirror of https://github.com/CISOfy/lynis.git
[BOOT-5108] Support for Syslinux bootloader
This commit is contained in:
parent
c68e2b5044
commit
7744aa87ad
|
@ -147,6 +147,20 @@
|
|||
fi
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
# Test : BOOT-5108
|
||||
# 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
|
||||
FileExists /boot/syslinux/syslinux.cfg
|
||||
if [ ${FILE_FOUND} -eq 1 ]; then
|
||||
LogText "Result: found Syslinux"
|
||||
BOOT_LOADER="Syslinux"
|
||||
BOOT_LOADER_FOUND=1
|
||||
fi
|
||||
fi
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
# Test : BOOT-5116
|
||||
# Description : Check if system is booted in UEFI mode
|
||||
|
|
Loading…
Reference in New Issue