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/unconfigure | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/opends/resource/unconfigure b/opends/resource/unconfigure index abf3f69..c8df403 100755 --- a/opends/resource/unconfigure +++ b/opends/resource/unconfigure @@ -24,6 +24,7 @@ # # # Copyright 2008-2009 Sun Microsystems, Inc. +# Portions Copyright 2011 ForgeRock AS # Capture the current working directory so that we can change to it later. @@ -98,11 +99,11 @@ echo "Disabling SMF service ..." # Now update SMF manifest, delete it and remove the file from /var/svc/manifest -echo select network/ldap/server > /tmp/opends-unconfigure.$$ -echo delete opends >> /tmp/opends-unconfigure.$$ -/usr/sbin/svccfg -f /tmp/opends-unconfigure.$$ -rm /tmp/opends-unconfigure.$$ -rm /var/svc/manifest/network/ldap/opends-manifest.xml +echo select network/ldap/server > /tmp/opendj-unconfigure.$$ +echo delete opendj >> /tmp/opendj-unconfigure.$$ +/usr/sbin/svccfg -f /tmp/opendj-unconfigure.$$ +rm /tmp/opendj-unconfigure.$$ +rm /var/svc/manifest/network/ldap/opendj-manifest.xml echo "Resetting instance location ..." # Launch the unconfigure process. -- Gitblit v1.10.0