#! /bin/sh
# @(#) preremove 97/07/29 7.1.3.2       97/07/31     Copyright 1993,94,95,96 Performance Technologies, Inc.

# Preremove script for PTIptisp

echo "Deinstalling PTIptisp driver from the kernel"

# see the preinstall script for comments explaining what is going 
# on here with respect to the 2.3/2.4/2.5 stuff. 
 
#minor_rev=`uname -r | awk -F. '{print $2}'` || exit 2 
  
#if [ $minor_rev -le 3 ]; then  
#        touch /etc/driver_classes || exit 2  
#else 
#        touch /kernel/drv/classes || exit 2  
#fi  

SAVEBASE=$BASEDIR
BASEDIR=""; export BASEDIR

/usr/sbin/rem_drv ptisp

BASEDIR=$SAVEBASE; export BASEDIR

exit 0
