summaryrefslogtreecommitdiffstats
path: root/hooks/base
blob: 706fb856dc916cfa7c859ab85d467ba8afe8da8f (plain)
1
2
3
4
5
6
7
8
9
# vim:set ft=sh:
run_hook ()
{
    if [ -e "/sys/bus/pci" ]; then
        msg -n "Loading base modules..."
        /bin/modprobe -a -q $(/bin/cat /sys/bus/pci/devices/*/modalias) >/dev/null 2>&1 &
        msg "done."
    fi
}