summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archiso/hooks/archiso4
1 files changed, 4 insertions, 0 deletions
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso
index f015620..d33e409 100644
--- a/archiso/hooks/archiso
+++ b/archiso/hooks/archiso
@@ -57,6 +57,10 @@ run_hook ()
msg ":: Waiting for usb devices to settle..."
/sbin/udevadm trigger --subsystem-match=usb
/sbin/udevadm settle
+ if [ "${rootdelay}" != "0" ]; then
+ /bin/sleep "${rootdelay}"
+ export rootdelay=0
+ fi
msg ":: Scanning for boot device..."