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