postinstall revision 7c478bd95313f5f23a4c958a745db2134aa03244
# This function will check if the module has an entry in etc/name_to_major
BASEDIR=/
OPTIND=1
while getopts i:b:m:c:N opt
N ) NO_CMD=1;;
i ) ADD_ALIAS=1
alias=$OPTARG
m ) ADD_MINOR=1
c) ADD_CLASS=1
drvname=$1
eval $cmd
if [ $ADD_ALIAS = 1 ]
if [ $? -ne 0 ]
if [ $ADD_CLASS = 1 ]
if [ $? -ne 0 ]
if [ $ADD_MINOR = 1 ]
if [ $? -ne 0 ]
echo $minorentry >> $BASEDIR/etc/minor_perm
check_add_drv -i '"pci9005,8000" "pci9005,8010" "pci9005,8011" "pci9005,8012" "pci9005,8014" "pci9005,8015" "pci9005,8016" "pci9005,8017" "pci9005,801d" "pci9005,801e" "pci9005,801f"' -b "$BASEDIR" -c scsi \