summaryrefslogtreecommitdiffstats
path: root/hooks/usb
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-05-03 04:02:53 +0200
committerAaron Griffin <aaron@archlinux.org>2006-05-03 04:02:53 +0200
commitad1050964eabbbc00547e8c6c91d8a7c3f13598f (patch)
tree79962456d502bbbb8a072568f31bd18e99b85099 /hooks/usb
parent66f28ea341f293cbddd30242f9ea03673d4674d2 (diff)
downloadmkinitcpio-ad1050964eabbbc00547e8c6c91d8a7c3f13598f.tar.gz
mkinitcpio-ad1050964eabbbc00547e8c6c91d8a7c3f13598f.tar.xz
Merged autodetect changes from tpowa.
Removed older subsystem specific scripts, replaced then with 'modload' just to keep the option in place. git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@43 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'hooks/usb')
-rw-r--r--hooks/usb1
1 files changed, 1 insertions, 0 deletions
diff --git a/hooks/usb b/hooks/usb
index 89af004..ece3950 100644
--- a/hooks/usb
+++ b/hooks/usb
@@ -4,6 +4,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
+ msg -n "waiting for usb to settle..."
/bin/sleep ${usbdelay:-5}
msg "done."
}