From 4700a31d399d3e3fe5594cce350744ea71ede5ee Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 24 Aug 2007 23:00:23 +0000
Subject: [PATCH] Add a mechanism for generating an RC script that can be used on UNIX systems to configure the server to automatically start when the system boots.

---
 opends/src/messages/messages/tools.properties |   59 +++++++++++++++++++++++++++++++++++------------------------
 1 files changed, 35 insertions(+), 24 deletions(-)

diff --git a/opends/src/messages/messages/tools.properties b/opends/src/messages/messages/tools.properties
index fc7ff36..62d63aa 100644
--- a/opends/src/messages/messages/tools.properties
+++ b/opends/src/messages/messages/tools.properties
@@ -2164,23 +2164,23 @@
  initialization:  %s
 SEVERE_ERR_LDAP_CONN_CANNOT_PARSE_SASL_OPTION_1296=ERROR:  The provided SASL \
  option string "%s" could not be parsed in the form "name=value"
-SEVERE_ERR_LDAP_CONN_NO_SASL_MECHANISM_1297=ERROR:  One or more SASL options were \
- provided, but none of them were the "mech" option to specify which SASL \
+SEVERE_ERR_LDAP_CONN_NO_SASL_MECHANISM_1297=ERROR:  One or more SASL options \
+ were provided, but none of them were the "mech" option to specify which SASL \
  mechanism should be used
-SEVERE_ERR_LDAP_CONN_CANNOT_DETERMINE_PORT_1298=ERROR:  Cannot parse the value of \
- the %s argument as an integer value between 1 and 65535:  %s
-SEVERE_ERR_LDAP_CONN_CANNOT_CONNECT_1299=ERROR:  Cannot establish a connection to \
- the Directory Server:  %s
+SEVERE_ERR_LDAP_CONN_CANNOT_DETERMINE_PORT_1298=ERROR:  Cannot parse the value \
+ of the %s argument as an integer value between 1 and 65535:  %s
+SEVERE_ERR_LDAP_CONN_CANNOT_CONNECT_1299=ERROR:  Cannot establish a connection \
+ to the Directory Server:  %s
 INFO_LDAP_CONN_DESCRIPTION_HOST_1300=Directory server hostname or IP address
 INFO_LDAP_CONN_DESCRIPTION_PORT_1301=Directory server port number
-INFO_LDAP_CONN_DESCRIPTION_USESSL_1302=Use SSL for secure communication with the \
- server
-INFO_LDAP_CONN_DESCRIPTION_USESTARTTLS_1303=Use StartTLS for secure communication \
- with the server
+INFO_LDAP_CONN_DESCRIPTION_USESSL_1302=Use SSL for secure communication with \
+ the server
+INFO_LDAP_CONN_DESCRIPTION_USESTARTTLS_1303=Use StartTLS for secure \
+ communication with the server
 INFO_LDAP_CONN_DESCRIPTION_BINDDN_1304=Specifies the DN to use to bind to the \
  server
-INFO_LDAP_CONN_DESCRIPTION_BINDPW_1305=Specifies the password to use to bind to \
- the server
+INFO_LDAP_CONN_DESCRIPTION_BINDPW_1305=Specifies the password to use to bind \
+ to the server
 INFO_LDAP_CONN_DESCRIPTION_BINDPWFILE_1306=Bind password file
 INFO_LDAP_CONN_DESCRIPTION_SASLOPTIONS_1307=SASL bind options
 INFO_LDAP_CONN_DESCRIPTION_TRUST_ALL_1308=Trust all server SSL certificates
@@ -2190,17 +2190,28 @@
 INFO_LDAP_CONN_DESCRIPTION_TSFILE_1312=Certificate trust store path
 INFO_LDAP_CONN_DESCRIPTION_TSPW_1313=Certificate trust store PIN
 INFO_LDAP_CONN_DESCRIPTION_TSPWFILE_1314=Certificate trust store PIN file
-SEVERE_ERR_TASK_CLIENT_UNEXPECTED_CONNECTION_CLOSURE_1315=NOTICE:  The connection \
- to the Directory Server was closed while waiting for a response to the \
- shutdown request.  This likely means that the server has started the shutdown \
- process
-SEVERE_ERR_TASK_CLIENT_IO_ERROR_1316=ERROR:  An I/O error occurred while attempting \
- to communicate with the Directory Server:  %s
-SEVERE_ERR_TASK_CLIENT_DECODE_ERROR_1317=ERROR:  An error occurred while trying to \
- decode the response from the server:  %s
-SEVERE_ERR_TASK_CLIENT_INVALID_RESPONSE_TYPE_1318=ERROR:  Expected an add response \
- message but got a %s message instead
+SEVERE_ERR_TASK_CLIENT_UNEXPECTED_CONNECTION_CLOSURE_1315=NOTICE:  The \
+ connection to the Directory Server was closed while waiting for a response to \
+ the shutdown request.  This likely means that the server has started the \
+ shutdown process
+SEVERE_ERR_TASK_CLIENT_IO_ERROR_1316=ERROR:  An I/O error occurred while \
+ attempting to communicate with the Directory Server:  %s
+SEVERE_ERR_TASK_CLIENT_DECODE_ERROR_1317=ERROR:  An error occurred while \
+ trying to decode the response from the server:  %s
+SEVERE_ERR_TASK_CLIENT_INVALID_RESPONSE_TYPE_1318=ERROR:  Expected an add \
+ response message but got a %s message instead
 INFO_TASK_CLIENT_TASK_SCHEDULED_1319=Scheduled task %s
-SEVERE_ERR_LDAP_CONN_INCOMPATIBLE_ARGS_1320=ERROR:  argument %s is incompatible \
- with use of this tool to interact with the directory as a client
+SEVERE_ERR_LDAP_CONN_INCOMPATIBLE_ARGS_1320=ERROR:  argument %s is \
+ incompatible with use of this tool to interact with the directory as a client
+SEVERE_ERR_CREATERC_ONLY_RUNS_ON_UNIX_1321=This tool may only be used on \
+ UNIX-based systems
+INFO_CREATERC_TOOL_DESCRIPTION_1322=Create an RC script that may be used to \
+ start, stop, and restart the Directory Server on UNIX-based systems
+INFO_CREATERC_OUTFILE_DESCRIPTION_1323=The path to the output file to create
+SEVERE_ERR_CREATERC_UNABLE_TO_DETERMINE_SERVER_ROOT_1324=Unable to determine \
+ the path to the server root directory.  Please ensure that the %s system \
+ property or the %s environment variable is set to the path of the server \
+ root directory
+SEVERE_ERR_CREATERC_CANNOT_WRITE_1325=An error occurred while attempting to \
+ generate the RC script:  %s
 

--
Gitblit v1.10.0