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