From bc839ac0e577d00aca5c18d18e17b60fcf43ce91 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.3-70-g09d2