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:
authorMichael Boelen <michael.boelen@cisofy.com>2016-08-18 16:31:51 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-08-18 16:31:51 +0300
commit7744aa87ad23300c1433e262d9178031b872ab0f (patch)
treec124eb692f9e5146621541ad2d28e57390482378
parentc68e2b50441cce97feb13ac0297616084662c711 (diff)
[BOOT-5108] Support for Syslinux bootloader
-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"