blob: 89af004ca5a7813a88ee5d1cbdb6082574ae3ce7 (
plain)
1
2
3
4
5
6
7
8
9
|
# vim: set ft=sh:
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."
}
|