From 3dfb061cbafd3a97c9359f739942924a8ee525f1 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Wed, 02 Nov 2011 12:07:15 +0000
Subject: [PATCH] Fix for OPENDJ-222 : Renamed environment variables to OPENDJ_... Updated scripts so that if OPENDJ_JAVA_HOME and OPENDJ_JAVA_ARGS are not defined, we look at the legacy OPENDS_... ones.

---
 opends/resource/bin/create-rc-script |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/opends/resource/bin/create-rc-script b/opends/resource/bin/create-rc-script
index 5c46101..0ce44b6 100644
--- a/opends/resource/bin/create-rc-script
+++ b/opends/resource/bin/create-rc-script
@@ -24,11 +24,12 @@
 #
 #
 #      Copyright 2008 Sun Microsystems, Inc.
+#      Portions Copyright 2011 ForgeRock AS
 
 
 # This script may be used to display the status panel.
-OPENDS_INVOKE_CLASS="org.opends.server.tools.CreateRCScript"
-export OPENDS_INVOKE_CLASS
+OPENDJ_INVOKE_CLASS="org.opends.server.tools.CreateRCScript"
+export OPENDJ_INVOKE_CLASS
 
 SCRIPT_NAME="create-rc-script"
 export SCRIPT_NAME

--
Gitblit v1.10.0