#!/sbin/sh 
########
#  Product: HP 1496A
#  Fileset: HPE1496_RUN
#  @(#) $Revision: 1.1 $
########
#
# (c) Copyright Hewlett-Packard Company, 1997
#
########

exitval=$SUCCESS            # anticipate success

################
#
# linkafile
#
#    link from source to destination
#
##############
linkafile()
{
   ln -s $SRCDIR/$SRCFILE $DSTDIR/$DSTFILE && \
   echo "NOTE:    linking $SRCDIR/$SRCFILE to $DSTDIR/$DSTFILE" || \
      { echo "ERROR:   Could not link $SRCDIR/$SRCFILE to "
        echo "         $DSTDIR/$DSTFILE"
        exitval=$FAILURE ; }
}

################################################################
#
# 			MAIN BODY
#
################################################################

ERROR_FLAG="no"

############################################################################
# Start of default configuration for HP E1496A
SRCDIR=${SW_ROOT_DIRECTORY}opt/hp75000/d20/app-defaults
DSTDIR=/usr/lib/X11/app-defaults
SRCFILE=`echo HP75000D20`
DSTFILE=`echo HP75000D20`
   linkafile

   exit $exitval

