From 81e9aa8bc6f3961b8e313419f73d286cadaf9c7d Mon Sep 17 00:00:00 2001 From: Simo Leone Date: Wed, 2 Apr 2008 20:29:01 -0500 Subject: Add USB modules to boot-cd hooks This should allow the disk to find itself on external CD-ROM drives. Signed-off-by: Simo Leone --- hooks/boot-cd | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hooks') diff --git a/hooks/boot-cd b/hooks/boot-cd index 1773023..1670c6b 100644 --- a/hooks/boot-cd +++ b/hooks/boot-cd @@ -1,5 +1,11 @@ run_hook () { + # external drives may need to settle + msg ":: Waiting for usb devices to settle..." + /sbin/udevtrigger --subsystem-match=usb + /sbin/udevsettle + sleep 5 + msg ":: Scanning for boot cdrom device..." /bin/mkdir -p /bootmnt -- cgit v1.2.3-70-g09d2