Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/hooks/boot-usb
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/boot-usb')
-rw-r--r--hooks/boot-usb4
1 files changed, 4 insertions, 0 deletions
diff --git a/hooks/boot-usb b/hooks/boot-usb
index 97ad2a9..e84dd1c 100644
--- a/hooks/boot-usb
+++ b/hooks/boot-usb
@@ -1,5 +1,9 @@
run_hook ()
{
+ msg ":: Waiting for usb devices to settle..."
+ /sbin/udevtrigger --subsystem-match=usb
+ /sbin/udevsettle
+ sleep 5
msg ":: Scanning for boot usb device..."
/bin/mkdir -p /bootmnt