# $Id: tta_setup,v 1.2 2015-03-31 12:24:26 pc161604 Exp $
#  Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Messages for the tarantella setup script.

tta_setup_desc="  setup              Changes Setup options, restores original objects"

l_errprefix="Error: "
lf_usage="Usage: tarantella setup
 - Changes Setup options, and optionally restores factory-default objects."

l_cantfindinstall="Setup couldn't find the $PRODUCT_SHORT_NAME installation."
l_cantchangeports="Setup can't change ports for an existing instance."
l_needasadport="You must supply an ASAD port number for a new instance."
l_needasadport="You must supply an SSL port number for a new instance."

l_nosuchdir="No such directory: "
l_filenotfound="File not found: "

l_cantupgrade1="Setup can't upgrade your database from version "
l_cantupgrade2="
to the current version."

l_errcantstart="An error occurred starting the $PRODUCT_SHORT_NAME server.
Setup will now exit."


# Log messages

l_creatingdir1="Creating directory "
l_creatingdir2="..."

l_creatingsymlink1="Creating symbolic link to "
l_creatingsymlink2="..."

l_copyingfiles1="Copying files from "
l_copyingfiles2="..."

l_running="Running "

l_removedb="Removing your existing database (if any)..."
l_movedb="Moving your existing database (if any)..."
l_stopserver="Stopping any server currently running"
l_servernotstopped="Server not stopped"

l_removing1="Removing everything in "
l_moving1="Moving everything in "
l_removing2="."
l_moving2=" to "

l_portnums1="Recording port numbers ("
l_portnums2=", "
l_portnums3=")..."

l_chgasad="Changing ASAD port. Stopping old server..."
l_chgsecure="Changing SSL port. Stopping old server..."

l_stoprestart="Trying to stop and restart the currently running server..."
l_trykill="Trying to kill the running server..."

####

# For setup summary heading
l_summary="Setting up $PRODUCT_FULL_NAME"
l_recommend="Setup recommends you use the following settings:"

####
# Add entry to rc file
h_restart="Start $PRODUCT_SHORT_NAME on reboot"
p_restart="\
Would you like the $PRODUCT_SHORT_NAME server to start automatically
when the UNIX host reboots?"
q_restart="Start $PRODUCT_SHORT_NAME on reboot?"
p_runlevel="
At which run level should the $PRODUCT_SHORT_NAME server start?
Choose from:
  S - Single-user mode
  1 - Administration mode
  2 - Multi-user mode
  3 - Remote file-sharing mode
  4 - Alternative remote file-sharing mode
"
p_currun="Current run level is: "
p_instrun="Currently installed at run level: "
q_runlevel="Run level"
q_mkrcdir="The correct run-level directory doesn't exist. Do you want to create
it?"
v_runlevel="The valid run levels are S, 1, 2, 3 and 4."

####
# Is it OK type stuff

p_damage="
Are these settings OK?
  Y - Yes, use these settings
  N - No, tell me more about the options and let me change the settings
  Q - Quit now"

q_damage="OK to use these settings?"

h_nochange="$PRODUCT_FULL_NAME Setup made no changes to your system"

h_change="$PRODUCT_FULL_NAME Setup made any changes you requested"

####
# Yes and No

a_case_y="yY"
a_case_yes="yY"
s_yes="yes"

a_case_n="nN"
a_case_no="nN"
s_no="no"

a_case_q="qQ"
a_case_quit="qQ"
s_quit="quit"

a_case_a="aA"

a_y="y"
a_n="n"
a_q="q"
a_a="a"

a_yes="yes"
a_no="no"
a_quit="quit"
a_auto="auto"

####
# Add entry to crontab to archive logs
h_checkpoint="Archive logs every week"
p_checkpoint="\
Would you like the $PRODUCT_SHORT_NAME server to archive its log files
every week?"
q_checkpoint="Archive logs every week?"
p_checktime="
At what time should the archive occur?
Type a number between 0 (midnight) and 23 (11pm).
"
q_checktime="Archive time"
q_hours=":00 hours"
v_badnumber="Please type a number from 0 to 23, inclusive."
p_checkday="
On what day should the archive occur?
Type a number between 0 (Sunday) and 6 (Saturday).
"
q_checkday="Archive day"
v_badday="Please type a number from 0 to 6, inclusive."

###
#ask whether to create the default webtop
h_webtop="Create default objects and webtop links"
p_webtop="\
Would you like Setup to recreate the default objects and webtop links,
as if this was a new installation?

Note: This won't remove any objects you've created, but it will
replace any objects with the same names as the originals."

q_webtop="Create default objects and webtop links?"
l_makingchanges="Setup is applying any changes"

l_removingoldpacks="
Removing old (upgraded) packs..."
