summaryrefslogtreecommitdiffstats
path: root/hooks/usb
blob: 5766ef9e1cf10ce589fc9e297bfdb44a00472478 (plain)
1
2
3
4
5
6
7
# 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
    msg "done."
}