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