diff options
author | Topi Miettinen <toiwoton@gmail.com> | 2020-03-19 16:42:16 +0300 |
---|---|---|
committer | Topi Miettinen <toiwoton@gmail.com> | 2020-03-19 16:44:30 +0300 |
commit | 3aaeeea856f6e939c5b8d50d995e9e3eaa80fb35 (patch) | |
tree | f9afb02d2a740726c4528e005dd6f1989dc2cbc7 /include/tests_boot_services | |
parent | e5c1f2f303b1dbf56486369d09f24707ced25acb (diff) |
Check for rEFInd boot loader
Detect rEFInd boot loader (https://www.rodsbooks.com/refind/).
Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
Diffstat (limited to 'include/tests_boot_services')
-rw-r--r-- | include/tests_boot_services | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/tests_boot_services b/include/tests_boot_services index 2c239b64..bc8ae321 100644 --- a/include/tests_boot_services +++ b/include/tests_boot_services @@ -183,6 +183,21 @@ # ################################################################################# # + # Test : BOOT-5109 + # Description : Check for rEFInd + Register --test-no BOOT-5109 --os "Linux" --weight L --network NO --root-only YES --category security --description "Check rEFInd as bootloader" + if [ ${SKIPTEST} -eq 0 ]; then + BOOT_LOADER_SEARCHED=1 + FileExists ${ROOTDIR}boot/refind_linux.conf + if [ ${FILE_FOUND} -eq 1 ]; then + LogText "Result: found rEFInd" + BOOT_LOADER="rEFInd" + 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" |