summaryrefslogtreecommitdiffstats
path: root/hooks/usb
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-05-02 06:36:19 +0200
committerAaron Griffin <aaron@archlinux.org>2006-05-02 06:36:19 +0200
commitdbfcaacf40ca356d7623408b4bfca828f8bd880d (patch)
tree9b104bd4188134bda0b52f0a40dde7537a531c72 /hooks/usb
parent3a764f2b15c44b17d098629de5eacdd164b5ddc7 (diff)
downloadmkinitcpio-dbfcaacf40ca356d7623408b4bfca828f8bd880d.tar.gz
mkinitcpio-dbfcaacf40ca356d7623408b4bfca828f8bd880d.tar.xz
Misc changes to module detection - tpowa
Config file comments mdassemble in raid hook + additional raid help git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@40 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'hooks/usb')
-rw-r--r--hooks/usb2
1 files changed, 2 insertions, 0 deletions
diff --git a/hooks/usb b/hooks/usb
index 5766ef9..89af004 100644
--- a/hooks/usb
+++ b/hooks/usb
@@ -3,5 +3,7 @@ run_hook ()
{
msg -n "Loading usb modules..."
/bin/modprobe -aq $(/bin/cat /sys/bus/usb/devices/*/modalias) >/dev/null 2>&1
+ #allow 'usbdelay' on the kernel param line
+ /bin/sleep ${usbdelay:-5}
msg "done."
}