summaryrefslogtreecommitdiffstats
path: root/hooks/autodetect
blob: bffdff3adc478d9a3c1ee05022b41661af39e45a (plain)
1
2
3
4
5
6
7
8
9
# vim: set ft=sh:
run_hook ()
{
    if [ -e /modules ]; then
        while read mod; do
            /bin/modprobe -q $mod >/dev/null 2>&1
        done < /modules
    fi
}