diff options
Diffstat (limited to 'stand/forth/efi.4th')
-rw-r--r-- | stand/forth/efi.4th | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/stand/forth/efi.4th b/stand/forth/efi.4th index 7c1bdf30b8e1..4778b405455c 100644 --- a/stand/forth/efi.4th +++ b/stand/forth/efi.4th @@ -26,5 +26,16 @@ only forth definitions -\ Place holder for more functions +: efiboot? ( -- flag ) + s" efi-version" getenv -1 <> dup if + swap drop ( c-addr flag -- flag ) + then +; + +: maybe-efi-resizecons + efiboot? if + efi-autoresizecons + then +; + .( EFI boot environment) cr |