#!/bin/sh
#
# ###################################################################
# Copyright (c) 2000, EMC Corporation. All Rights Reserved.
#
# Most Recent Author: Raghu Adabala
# Previous Authors: Raghu Adabala and Ed Goggin
#
# Contents:
# One of the install scripts for EMC PowerPath ver 3.0 on Linux
# ###################################################################
#

# @(#) $Header: /cvs/source/master/pxmobility/src/pkg/i386_linux/bin_install/scripts/symbols,v 1.10 2004/01/12 20:31:46 zsusnjar Exp $

#
# Symbols
#
# in case of installation on OS revision  different from source OS revision
# user need to create  file and put target os revision in it..
# for example:
# 2.4.9-e.27custom
if [ -f /tmp/powerpath_inst_target ]; then
  linux_os_rev=`cat /tmp/powerpath_inst_target`
else
  linux_os_rev=`uname -r`
fi

linuxleastCLIVer="5.2.0.0"

#
# Default linux distribution
#
DEFAULT_DISTRIBUTION=
PP_DISTRIBUTION_DIR=./.options/distribution

#
# Default path for linux kernel source
#
KSRC=$RPM_INSTALL_PREFIX/usr/src/linux

#
# Default installation directory for emcpower odds & ends
#
PP_I_DIR=$pp_dir

#
# Default installation goods
#
PP_DIR=./bin

#
# Where the device file are kept
#
DEV_DIR=$RPM_INSTALL_PREFIX/dev

#
# A trendy name for our stuff
#
POWER_HANDLE=emcpower

#
# The file name of the device file used to control the power path drivers
#
POWER_DEV=$DEV_DIR/$POWER_HANDLE

#
# Installation log file
#
LOG_FILE=log
POWER_LOG=$PP_I_DIR/$LOG_FILE

#
# Installation temporary file directory.
#
POWER_TMP_DIR=$PP_I_DIR/.tmp

#
# Backup archives used in case an installation is aborted in mid-stream
#
POWER_BACKUP_ARCHIVE=$PP_I_DIR/.archive.tar
POWER_BACKUP_ARCHIVE_NEW=$PP_I_DIR/.archive_NEW.tar
POWER_BACKUP_ARCHIVE_OLD=$PP_I_DIR/.archive_OLD.tar

#
# Final destination for the drivers when loaded as modules
#
MODULES_DIR=$RPM_INSTALL_PREFIX/lib/modules

#
# Patch log file in case of patch errors
#
PATCH_LOG=$PP_I_DIR/patch.log

#
# Some literals to help readablity
#
SUCCESS="Successfully installed"
FAILURE="Failed to install"
SUCCESS_DIR="Successfully created directory"
FAILURE_DIR="Failed to create directory"
SUCCESS_REM="Successfully removed"
FAILURE_REM="Failed to remove"
SUCCESS_REN="Successfully renamed"
FAILURE_REN="Failed to renamed"
SUCCESS_CONFIG="Successfully configured"
FAILURE_CONFIG="Failed to configure"
