#!/bin/sh

#pragma ident   "@(#)preinstall 1.2     98/05/28 SMI"

# Pre-install script for the DOLPHIN,sci driver (pkgadd only)
# SMCC Cluster Server Engineering

# Make backup copy of /etc/devlink.tab file in case it gets trashed
if [ ! -f /tmp/devlink.tab_presci ]; then
  echo "  ... SUNWsci: making backup copy of /etc/devlink.tab in /tmp"
  /usr/bin/cp -p ${PKG_INSTALL_ROOT}/etc/devlink.tab /tmp/devlink.tab_presci
fi
echo "  ... SUNWsci: preinstall complete"

exit 0
