aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rwxr-xr-xinit10
1 files changed, 10 insertions, 0 deletions
diff --git a/init b/init
index 429c87d..af507c0 100755
--- a/init
+++ b/init
@@ -78,6 +78,16 @@ udevadm trigger --type=subsystems --action=add
udevadm trigger --type=devices --action=add
udevadm settle || true
+# On 6-series kernels we seem to be executed a lot earlier (or a lot faster)
+# with many devices (Ethernet, USB storage) not being discovered yet (and
+# devices that require firmware generally taking a while). So let's wait a
+# bit for things to settle down.
+#
+for s in 5 4 3 2 1; do
+ info "waiting for devices ${s}s..."
+ sleep 1
+done
+
# Detect hardware sensors.
#
sensors-detect --auto