The Memory Bank

...for memory blanks

Site Tools


get_boot_type

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
get_boot_type [2025/01/31 00:34] kenget_boot_type [2026/01/16 03:37] (current) – external edit 127.0.0.1
Line 3: Line 3:
 function fn_get_boot_type() function fn_get_boot_type()
 { {
-#--- Determine the boot type (UEFI or BIOS). This is used for manifest automation +  #--- Determine the boot type (UEFI or BIOS). This is used for manifest automation 
-LOG_MSG="Checking for boot type" +  LOG_MSG="Checking for boot type" 
-fn_write_to_log +  fn_write_to_log 
-BOOT_TYPE=$([ -d /sys/firmware/efi ] && echo UEFI || echo BIOS) +  BOOT_TYPE=$([ -d /sys/firmware/efi ] && echo UEFI || echo BIOS) 
-LOG_MSG="Boot Type: ${BOOT_TYPE}" +  LOG_MSG="Boot Type: ${BOOT_TYPE}" 
-fn_write_to_log+  fn_write_to_log
 } }
 </code> </code>
get_boot_type.1738283690.txt.gz · Last modified: (external edit)