From f852276274e0829a3ceaca5c5f83e159e3436b2b Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Thu, 29 Jan 2009 09:07:10 -0800 Subject: Increment usbdelay by 1 before sleeping This should give us *just a bit* more delay before actually trying to do things with the usb devices. Annoying, but will probably be effective Signed-off-by: Aaron Griffin --- archiso/hooks/archiso | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso index 3df0dcc..d38cc30 100644 --- a/archiso/hooks/archiso +++ b/archiso/hooks/archiso @@ -57,8 +57,9 @@ run_hook () msg ":: Waiting for devices to settle..." /sbin/udevadm trigger --subsystem-match=usb /sbin/udevadm settle - msg ":: Waiting ${usbdelay:-0}s for USB devices" - /bin/sleep "${usbdelay:-0}" + usbdelay=$(( ${usbdelay:-0} + 1 )) + msg ":: Waiting ${usbdelay}s for USB devices" + /bin/sleep "${usbdelay}" msg ":: Scanning for boot device..." -- cgit v1.2.3-70-g09d2