From 1c29d2d6433c0bdcde8093e99c1f8a2dbaa58220 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Wed, 27 Mar 2024 20:31:10 -0400 Subject: [PATCH] boot/init: Disable device wait when set to 0 --- boot/init/tasks/splash.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/init/tasks/splash.rb b/boot/init/tasks/splash.rb index 3f464db9..ea660bfc 100644 --- a/boot/init/tasks/splash.rb +++ b/boot/init/tasks/splash.rb @@ -86,6 +86,8 @@ class Tasks::Splash < SingletonTask # Minimum amount of time spent waiting for devices, in seconds. wait_for_devices_delay = Configuration["quirks"]["wait_for_devices_delay"] + return unless wait_for_devices_delay > 0 + # Number of times this is looking at the state every second. # This is the "precision" at which it works, e.g. wait_for_devices_delay + (1.0/looks_per_second) # is the approximative minimum amount of time this will wait for.