mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-10-26 04:42:43 +03:00
boot/init: Disable device wait when set to 0
This commit is contained in:
parent
ef941ecad6
commit
1c29d2d643
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user