#!/bin/sh
-RCSID='$Revision$ $Date:: $'
-
# geninitrd mod: scsi
# it should be safe to remove scsi_mod from here, but I'm not sure...
fi
# TODO: more sophisticated check, not just pathname check
- if is_yes "$(echo "$node" | awk '/^\/dev\/(sd|scsi)/ { print "yes"; }')"; then
+ if is_yes "$(echo "$node" | awk '/^\/dev\/(sd|scsi|vd)/ { print "yes"; }')"; then
return 0
fi
local n
for n in $PRESCSIMODS; do
if [ "X$n" = "Xunknown" ]; then
- debug "Finding SCSI modules using scsi_hostadapter"
- local mod scsimodules=$(modprobe_conf | awk '/scsi_hostadapter/ && ! /^[\t ]*#/ { print $3; }')
+ verbose "Finding SCSI modules using scsi_hostadapter"
+ local mod scsimodules=$(modprobe_conf | awk '/scsi_hostadapter/ { print $3 }')
for mod in $scsimodules; do
# for now allow scsi modules to come from anywhere. There are some
# RAID controllers with drivers in block