postinstall revision 7c478bd95313f5f23a4c958a745db2134aa03244
415bb21f281e9b4f905d5893fede9165bdf1491bjim# CDDL HEADER START
2cd2891cea784de97020bcada4e834e224428d0ccovener# The contents of this file are subject to the terms of the
2cd2891cea784de97020bcada4e834e224428d0ccovener# Common Development and Distribution License, Version 1.0 only
2cd2891cea784de97020bcada4e834e224428d0ccovener# (the "License"). You may not use this file except in compliance
2cd2891cea784de97020bcada4e834e224428d0ccovener# with the License.
2cd2891cea784de97020bcada4e834e224428d0ccovener# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
03944c8577b204701c849fce01f3fcb423a615f1covener# See the License for the specific language governing permissions
03944c8577b204701c849fce01f3fcb423a615f1covener# and limitations under the License.
f97e1288a50b3da1022b515d84bc57a5091f2fefcovener# When distributing Covered Code, include this CDDL HEADER in each
f97e1288a50b3da1022b515d84bc57a5091f2fefcovener# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f97e1288a50b3da1022b515d84bc57a5091f2fefcovener# If applicable, add the following below this CDDL HEADER, with the
f97e1288a50b3da1022b515d84bc57a5091f2fefcovener# fields enclosed by brackets "[]" replaced with your own identifying
7a975d0413ba303546b7619e4785cb641f7f09fdcovener# information: Portions Copyright [yyyy] [name of copyright owner]
7a975d0413ba303546b7619e4785cb641f7f09fdcovener# CDDL HEADER END
77504f17963a8dd941a921d9ddfa25ddb0f348d6kbrand#ident "%Z%%M% %I% %E% SMI"
77504f17963a8dd941a921d9ddfa25ddb0f348d6kbrand# Copyright (c) 1991-1999 by Sun Microsystems, Inc.
77504f17963a8dd941a921d9ddfa25ddb0f348d6kbrand# All rights reserved.
f06d5fd4cff0cd7953f92c20540059637abd439arpluem# Install NCA driver using add_drv -
f06d5fd4cff0cd7953f92c20540059637abd439arpluem# assume that we do not have to set the perms
5ab58649d9a4b3af01a4141920613fbf74ced7fdminfrinnot_installed() {
97f293b98fc6777e5baa836c30293f433f3c12e1minfrin grep "^${driver} " $BASEDIR/etc/name_to_major > /dev/null 2>&1
fa0316cc0d5c0e80d275877df428fd8061c0a79dsfnot_installed nca || add_drv -b ${BASEDIR} -n nca || EXIT=1