postinstall revision 7c478bd95313f5f23a4c958a745db2134aa03244
4752N/A#!/bin/sh
4752N/A#
4752N/A# CDDL HEADER START
4752N/A#
4752N/A# The contents of this file are subject to the terms of the
4752N/A# Common Development and Distribution License, Version 1.0 only
4752N/A# (the "License"). You may not use this file except in compliance
4752N/A# with the License.
4752N/A#
4752N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4752N/A# or http://www.opensolaris.org/os/licensing.
4752N/A# See the License for the specific language governing permissions
4752N/A# and limitations under the License.
4752N/A#
4752N/A# When distributing Covered Code, include this CDDL HEADER in each
4752N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4752N/A# If applicable, add the following below this CDDL HEADER, with the
4752N/A# fields enclosed by brackets "[]" replaced with your own identifying
4752N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4752N/A#
4752N/A# CDDL HEADER END
4752N/A#
4752N/A#
4752N/A#pragma ident "%Z%%M% %I% %E% SMI"
4752N/A#
4752N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5821N/A# Use is subject to license terms.
4752N/A#
4752N/A
4752N/APATH="/usr/bin:/usr/sbin:${PATH}"
4752N/Aexport PATH
4752N/A
4752N/Anot_installed() {
4752N/A driver=$1
4752N/A grep "^${driver} " $BASEDIR/etc/name_to_major > /dev/null 2>&1
4752N/A
4752N/A return $?
4752N/A}
4752N/A
4752N/AEXIT=0
4752N/A
4752N/Anot_installed scsa1394 || add_drv -b ${BASEDIR} -m '* 0666 root sys' \
4752N/A -i '"firewire00609e,010483"' -n scsa1394 || EXIT=1
4752N/A
4752N/Aexit $EXIT
4752N/A