#!/bin/sh
#
#ident	"@(#)preinstall	1.1	95/03/27 SMI"
#
# Copyright (c) 1995 Sun Microsystems, Inc.
# All Rights Reserved.
#

# If upgrading from an x86 system which has no st driver, delete the
# /dev/rmt/* nodes so that new tape devs are built after reconfigure
# reboot.  This is OK in preinstall since tape devs aren't used by install.
#
if [ ! -f $BASEDIR/kernel/drv/st ] ; then
rm $BASEDIR/dev/rmt/* > /dev/null 2>&1
fi

exit 0
