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>
This commit is contained in:
Simo Leone 2008-04-02 02:23:00 -05:00
parent c265757045
commit a24b40c5d2

View File

@ -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