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