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:
parent
c265757045
commit
a24b40c5d2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user