diff options
Diffstat (limited to 'src/boot')
-rw-r--r-- | src/boot/efi/boot.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 1f2b6a7d6d..3f8140ebff 100644 --- a/src/boot/efi/boot.c +++ b/src/boot/efi/boot.c @@ -1171,11 +1171,14 @@ static VOID config_load(Config *config, EFI_HANDLE *device, EFI_FILE *root_dir, continue; if (f->Attribute & EFI_FILE_DIRECTORY) continue; + len = StrLen(f->FileName); if (len < 6) continue; if (StriCmp(f->FileName + len - 5, L".conf") != 0) continue; + if (StrnCmp(f->FileName, L"auto-", 5) == 0) + continue; len = file_read(entries_dir, f->FileName, 0, 0, &content); if (len > 0) |