2605N/A# The contents of this file are subject to the terms of the
2605N/A# Common Development and Distribution License (the "License").
2605N/A# You may not use this file except in compliance with the License.
2605N/A# See the License for the specific language governing permissions
2605N/A# and limitations under the License.
2605N/A# When distributing Covered Code, include this CDDL HEADER in each
2605N/A# If applicable, add the following below this CDDL HEADER, with the
2605N/A# fields enclosed by brackets "[]" replaced with your own identifying
2605N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2605N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
3769N/A# Use is subject to license terms.
4070N/A# ident "%Z%%M% %I% %E% SMI"
4070N/A# Check if the BASEDIR option is needed
2605N/Aif [ "${BASEDIR}" = "/" ]; then
4070N/A ADD_DRV_FLAGS="-b ${BASEDIR}"
4070N/A# Make sure add_drv has not been previously executed before attempting
4070N/A ${ADD_DRV} ${ADD_DRV_FLAGS} -m "${DRVPERM}" ${DRV}
4070N/A echo "${PKG_NAME}: add_drv ${DRV} failed\n" >&2