This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| get_boot_type [2025/01/16 22:29] – created ken | get_boot_type [2026/07/07 23:13] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Get Boot Type ===== | + | ===== bash function to determine the boot type (on RHEL systems) |
| < | < | ||
| function fn_get_boot_type() | function fn_get_boot_type() | ||
| { | { | ||
| - | #--- Determine the boot type (UEFI or BIOS). This is used for manifest automation | + | |
| - | LOG_MSG=" | + | LOG_MSG=" |
| - | fn_write_to_log | + | fn_write_to_log |
| - | BOOT_TYPE=$([ -d / | + | BOOT_TYPE=$([ -d / |
| - | LOG_MSG=" | + | LOG_MSG=" |
| - | fn_write_to_log | + | fn_write_to_log |
| } | } | ||
| </ | </ | ||