diff options
author | Simo Leone <simo@archlinux.org> | 2008-04-02 02:23:00 -0500 |
---|---|---|
committer | Simo Leone <simo@archlinux.org> | 2008-04-02 02:23:00 -0500 |
commit | a24b40c5d22020fcab3d0035bc07f21ff20dcbc3 (patch) | |
tree | 97f7b49bb77ade241a27b861277d4477483db30d | |
parent | c2657570456d6c8db4830cc3c7a5e4888942d691 (diff) | |
download | archiso32-a24b40c5d22020fcab3d0035bc07f21ff20dcbc3.tar.xz |
Wait for USB devices to settle before scanning
We weren't able to pick up usb devices at all,
because the kernel takes its sweet time realizing
that they're there.
Signed-off-by: Simo Leone <simo@archlinux.org>
-rw-r--r-- | hooks/boot-usb | 4 |
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 |