#!/bin/sh
# SYSTEMS: Solaris
# This script prevents the moving of saved files (that were being edited) to 
# /usr/preserve when the system is rebooted.  These files are normally located
# in /var/tmp with names beginning with "Ex".
MSG="# Checking for the 'expreserve' functionality..."
SYSTEM=`uname -s`
######Solaris######
if [ "$SYSTEM" = "SunOS" ]; then
  echo ""; echo "$MSG"
  if [ -f /etc/rc2.d/S80PRESERVE ] || [ -f /etc/rc2.d/S89PRESERVE ]; then
    echo "--WARN-- [PRESERVE001w] PRESERVE script FOUND in /etc/rc2.d directory."
  fi
fi
