postinstall revision 5ce5f3670f7934e376808da0d1309924ecf8f9e5
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
export PATH
RDS_SOCK_ENTRY=" 30 1 0 /dev/rds"
DRVPERM='* 0644 root sys'
IB_DEV_DIR="/devices/ib"
if [ "${BASEDIR:=/}" = "/" ]
then
ADD_DRV="add_drv"
# Is there IB Hardware?
if [ ! -d $IB_DEV_DIR ]
then
#
# On a running system with NO IB hardware, modify the
# system files only.
#
ADD_DRV_OPT="-n"
fi
fi
driver=$1
return $?
}
EXIT=0
# Check rds entry exists in sock2path
if [ $? -ne 0 ]
then
if [ "${BASEDIR:=/}" = "/" ]
then
fi
fi
exit $EXIT