summaryrefslogtreecommitdiffstats
path: root/install/scsi
blob: 7c5a77160a8d6f67196065017b0ea2bdbed4e62d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

build(){
    local filter added

    add_checked_modules -f '(imm|ata|pcmcia)' '/scsi/' && (( ++added ))
    add_checked_modules -f '(cciss|cpqarray|DAC960)' '/block/' && (( ++added ))
    add_checked_modules '/fusion/' && (( ++added ))

    (( added )) && add_module 'sd_mod?'
}

help() {
    cat <<HELPEOF
This hook loads the necessary modules for an scsi root device. Detection will
take place at runtime. To minimize the modules in the image, add the autodetect
hook too.
HELPEOF
}

# vim: set ft=sh ts=4 sw=4 et: