postinstall revision 7c478bd95313f5f23a4c958a745db2134aa03244
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder# CDDL HEADER START
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder# The contents of this file are subject to the terms of the
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder# Common Development and Distribution License, Version 1.0 only
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder# (the "License"). You may not use this file except in compliance
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder# with the License.
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder# or http://www.opensolaris.org/os/licensing.
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder# See the License for the specific language governing permissions
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder# and limitations under the License.
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder# When distributing Covered Code, include this CDDL HEADER in each
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder# CDDL HEADER END
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder# Copyright (c) 1998-2000 by Sun Microsystems, Inc.
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder# All rights reserved.
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder#ident "%Z%%M% %I% %E% SMI"
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maedergrep -w "bofi" ${BASEDIR}/etc/name_to_major > /dev/null 2>&1
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maederif [ $? != 0 ] ; then
e5b79e9fe9606fd386dc840ea9f1514e7b9b32b9Christian Maeder/usr/sbin/add_drv -b "$BASEDIR" -m '* 0600 bin bin' bofi