From a24b40c5d22020fcab3d0035bc07f21ff20dcbc3 Mon Sep 17 00:00:00 2001 From: Simo Leone Date: Wed, 2 Apr 2008 02:23:00 -0500 Subject: 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 --- hooks/boot-usb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hooks') 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 -- cgit v1.2.2