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:
authormslifcak <slifcan@gmail.com>2018-01-18 18:36:43 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2018-01-18 18:36:43 +0300
commit6c257d622478ba4ce120dfe1e4556588be18e343 (patch)
treec59e2b83b7707dc0d1de78c25bf7117397089848 /include/tests_boot_services
parent6e549eb54507abc7dda58beb9fa8de67c9a4f712 (diff)
touchup BOOT_LOADER_SEARCHED setting for BOOT-5106 and BOOT-5108 (#511)
Diffstat (limited to 'include/tests_boot_services')
-rw-r--r--include/tests_boot_services2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tests_boot_services b/include/tests_boot_services
index fbbfd382..8d69da7a 100644
--- a/include/tests_boot_services
+++ b/include/tests_boot_services
@@ -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"