From 8bbba9d3256c37205f9bd5ab131554c0fa453145 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Tue, 08 Feb 2011 12:03:28 +0000
Subject: [PATCH] Add support for SVR4 packages for OpenDJ. Package name is opendj. It's a single package and has integration with SMF. Default installation is /usr/opendj. Once packages are installed, root must run configure to setup the Instance location (/var/opendj) and owner. And the owner must run setup.

---
 opends/resource/bin/_script-util.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opends/resource/bin/_script-util.sh b/opends/resource/bin/_script-util.sh
index ada6122..5410236 100644
--- a/opends/resource/bin/_script-util.sh
+++ b/opends/resource/bin/_script-util.sh
@@ -24,7 +24,7 @@
 #
 #
 #      Copyright 2008-2010 Sun Microsystems, Inc.
-#      Portions Copyright 2010 ForgeRock AS
+#      Portions Copyright 2010-2011 ForgeRock AS
 
 #
 # Display an error message
@@ -261,7 +261,7 @@
 then
   if [ -f "${INSTALL_ROOT}/configure" ]
   then
-    if [ -f /etc/opends/instance.loc ]
+    if [ -f /etc/opendj/instance.loc ]
     then
       if [ "${SCRIPT_NAME}" = "configure" ]
       then
@@ -272,7 +272,7 @@
           exit 0
 	fi
       fi
-      read INSTANCE_ROOT <  /etc/opends/instance.loc
+      read INSTANCE_ROOT <  /etc/opendj/instance.loc
     else
       if [ "${SCRIPT_NAME}" != "configure" ]
       then

--
Gitblit v1.10.0