#!/sbin/sh
#
# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident	"@(#)postremove	1.1	07/10/09 SMI"
#

BD=${BASEDIR:-/}
if grep -w bnx $BD/etc/name_to_major > /dev/null 2>&1
then
	rem_drv -b ${BD} bnx
	if [ $? -ne 0 ]
	then
		exit 1 	
	fi
fi
exit 0
