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:
-rw-r--r--include/tests_boot_services14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/tests_boot_services b/include/tests_boot_services
index cd431cab..16eb31db 100644
--- a/include/tests_boot_services
+++ b/include/tests_boot_services
@@ -148,6 +148,20 @@
#
#################################################################################
#
+ # 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
Register --test-no BOOT-5116 --weight L --network NO --root-only YES --category security --description "Check if system is booted in UEFI mode"