From 7b98f75fd2a6566cf223b938b428edbb36e74c86 Mon Sep 17 00:00:00 2001 From: Thore Sommer Date: Thu, 22 Aug 2024 14:28:23 +0200 Subject: [PATCH] shim.c: set shutdown timemout to 90 seconds in error case This allows the user more time to read the error messages. Signed-off-by: Thore Sommer --- shim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shim.c b/shim.c index 7ab88df8c..fecbc5bd7 100644 --- a/shim.c +++ b/shim.c @@ -1997,7 +1997,7 @@ efi_main (EFI_HANDLE passed_image_handle, EFI_SYSTEM_TABLE *passed_systab) #if defined(ENABLE_SHIM_DEVEL) devel_egress(COLD_RESET); #else - usleep(5000000); + usleep(90000000); // 90 sec RT->ResetSystem(EfiResetShutdown, EFI_SECURITY_VIOLATION, 0, NULL); #endif