diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-01-29 09:07:10 -0800 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-01-29 09:08:36 -0800 |
commit | f852276274e0829a3ceaca5c5f83e159e3436b2b (patch) | |
tree | 2510f10c994fee02f3a8c190e8fbc691c58d3e89 /archiso | |
parent | 7a98a216dec70340a3627dd38f6862d1a4cfca82 (diff) | |
download | archiso32-f852276274e0829a3ceaca5c5f83e159e3436b2b.tar.xz |
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 <aaronmgriffin@gmail.com>
Diffstat (limited to 'archiso')
-rw-r--r-- | archiso/hooks/archiso | 5 |
1 files 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..." |