Ken's Lotto Syndicate

Powerball Syndicate Home Page

Site Tools


get_boot_type

This is an old revision of the document!


Get Boot Type

function fn_get_boot_type()
{
#--- Determine the boot type (UEFI or BIOS). This is used for manifest automation
LOG_MSG="Checking for boot type"
fn_write_to_log
BOOT_TYPE=$([ -d /sys/firmware/efi ] && echo UEFI || echo BIOS)
LOG_MSG="Boot Type: ${BOOT_TYPE}"
fn_write_to_log
}
get_boot_type.1737066544.txt.gz · Last modified: (external edit)