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