postremove revision 84f7a9b9dca4f23b5f50edef0e59d7eb44301114
0N/A#! /usr/bin/sh
0N/A#
0N/A# CDDL HEADER START
292N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
292N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
292N/A# or http://www.opensolaris.org/os/licensing.
292N/A# See the License for the specific language governing permissions
292N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
292N/A# If applicable, add the following below this CDDL HEADER, with the
292N/A# fields enclosed by brackets "[]" replaced with your own identifying
292N/A# information: Portions Copyright [yyyy] [name of copyright owner]
292N/A#
292N/A# CDDL HEADER END
292N/A#
292N/A#
292N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
292N/A# Use is subject to license terms.
292N/A#
292N/A# ident "%Z%%M% %I% %E% SMI"
0N/A#
0N/A
0N/ADRV=wpi
0N/ABD=${BASEDIR:-/}
0N/Aif grep -w $DRV $BD/etc/name_to_major > /dev/null 2>&1
0N/Athen
0N/A rem_drv -b ${BD} $DRV
0N/A if [ $? -ne 0 ]
0N/A then
0N/A exit 1
0N/A fi
0N/Afi
0N/A
0N/Aexit 0
0N/A