installer: Detect if we are running in EFI mode

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-05-31 15:24:39 +01:00
parent 6b44fee76f
commit 5fb499f13b
3 changed files with 10 additions and 2 deletions

View File

@@ -383,7 +383,9 @@ int main(int argc, char *argv[]) {
}
fprintf(flog, "Install program started.\n");
if (hw->efi)
fprintf(flog, "EFI mode enabled\n");
newtInit();
newtCls();