DEF_AUTH_HOST=`hostname` DEF_BASEDIR="/opt" DEF_GW=`hostname` # # 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 # # get gateway hostname # echo "enter fully qualified hostname for the gateway [$DEF_GW]: \c" read gw if [ "X${gw}" = "X" ]; then gw="$DEF_GW" fi cat >$1 <