# Purpose: SUNWsnps package request script # Author: Jon Nelson # Creation date: 12/02/98 # # Details: # # Prompts the installer for necessary information. # # This script is meant to be run as part of the SUNWsnps package # installation. # PATH=/bin:/usr/bin:/sbin:/usr/sbin DEF_AUTH_HOST=`hostname` DEF_BASEDIR="/opt" echo echo "Collecting data for installation . . ." # # get auth host # echo "enter fully qualified hostname for the server [$DEF_AUTH_HOST]: \c" read auth_host if [ "X${auth_host}" = "X" ]; then auth_host="$DEF_AUTH_HOST" fi # # get basedir # echo "enter base install directory [$DEF_BASEDIR]: \c" read basedir if [ "X${basedir}" = "X" ]; then basedir="$DEF_BASEDIR" fi # # Make all vars available to rest of install program # cat > $1 <