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