Home | History | Annotate | Download | only in SUNWural
      1  6629  zf162725 #! /usr/bin/sh
      2  6629  zf162725 #
      3  6629  zf162725 # CDDL HEADER START
      4  6629  zf162725 #
      5  6629  zf162725 # The contents of this file are subject to the terms of the
      6  6629  zf162725 # Common Development and Distribution License (the "License").
      7  6629  zf162725 # You may not use this file except in compliance with the License.
      8  6629  zf162725 #
      9  6629  zf162725 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
     10  6629  zf162725 # or http://www.opensolaris.org/os/licensing.
     11  6629  zf162725 # See the License for the specific language governing permissions
     12  6629  zf162725 # and limitations under the License.
     13  6629  zf162725 #
     14  6629  zf162725 # When distributing Covered Code, include this CDDL HEADER in each
     15  6629  zf162725 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     16  6629  zf162725 # If applicable, add the following below this CDDL HEADER, with the
     17  6629  zf162725 # fields enclosed by brackets "[]" replaced with your own identifying
     18  6629  zf162725 # information: Portions Copyright [yyyy] [name of copyright owner]
     19  6629  zf162725 #
     20  6629  zf162725 # CDDL HEADER END
     21  6629  zf162725 #
     22  6629  zf162725 #
     23  6629  zf162725 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
     24  6629  zf162725 # Use is subject to license terms.
     25  6629  zf162725 #
     26  6629  zf162725 # ident	"%Z%%M%	%I%	%E% SMI"
     27  6629  zf162725 #
     28  6629  zf162725 
     29  6629  zf162725 DRV=ural
     30  6629  zf162725 BD=${BASEDIR:-/}
     31  6629  zf162725 if grep -w $DRV $BD/etc/name_to_major > /dev/null 2>&1
     32  6629  zf162725 then
     33  6629  zf162725         rem_drv -b ${BD} $DRV
     34  6629  zf162725         if [ $? -ne 0 ]
     35  6629  zf162725         then
     36  6629  zf162725                 exit 1
     37  6629  zf162725         fi
     38  6629  zf162725 fi
     39  6629  zf162725 
     40  6629  zf162725 exit 0
     41