| opends/resource/bin/_client-script.sh | ●●●●● patch | view | raw | blame | history | |
| opends/resource/bin/_mixed-script.sh | ●●●●● patch | view | raw | blame | history | |
| opends/resource/bin/_script-util.sh | ●●●●● patch | view | raw | blame | history | |
| opends/resource/bin/control-panel | ●●●●● patch | view | raw | blame | history | |
| opends/resource/bin/dsjavaproperties | ●●●●● patch | view | raw | blame | history | |
| opends/resource/bin/status-panel | ●●●●● patch | view | raw | blame | history |
opends/resource/bin/_client-script.sh
@@ -53,6 +53,11 @@ # Set environment variables SCRIPT_UTIL_CMD=set-full-environment export SCRIPT_UTIL_CMD if [ -z "$NO_CHECK" ] then NO_CHECK=1 export NO_CHECK fi . "${INSTALL_ROOT}/lib/_script-util.sh" RETURN_CODE=$? if test ${RETURN_CODE} -ne 0 opends/resource/bin/_mixed-script.sh
@@ -63,6 +63,8 @@ # Set environment variables SCRIPT_UTIL_CMD=set-full-environment export SCRIPT_UTIL_CMD NO_CHECK=1 export NO_CHECK . "${INSTALL_ROOT}/lib/_script-util.sh" RETURN_CODE=$? if test ${RETURN_CODE} -ne 0 @@ -92,6 +94,8 @@ # Set the environment to use the offline properties SCRIPT_NAME=${OLD_SCRIPT_NAME}.offline export SCRIPT_NAME NO_CHECK=0 export NO_CHECK . "${INSTALL_ROOT}/lib/_script-util.sh" RETURN_CODE=$? if test ${RETURN_CODE} -ne 0 opends/resource/bin/_script-util.sh
@@ -160,6 +160,19 @@ export CLASSPATH } isVersionOrHelp() { for opt in `echo $*` do if [ $opt = "-V" ] || [ $opt = "--version" ] || [ $opt = "-H" ] || [ $opt = "--help" ] || [ $opt = "-F" ] || [ $opt = "--fullversion" ] then return 0 fi done return 1 } if test "${INSTALL_ROOT}" = "" then # Capture the current working directory so that we can change to it later. @@ -175,18 +188,6 @@ if test "${INSTANCE_ROOT}" = "" then for opt in `echo $*` do if [ $opt = "-V" ] || [ $opt = "--version" ] || [ $opt = "-H" ] || [ $opt = "--help" ] then INSTANCE_ROOT="not_needed" fi done fi if test "${INSTANCE_ROOT}" = "" then if [ -f ${INSTALL_ROOT}/configure ] then if [ -f /etc/opt/opends/instance.loc ] @@ -200,8 +201,12 @@ else if [ "${SCRIPT_NAME}" != "configure" ] then echo "No instance found. Run ${INSTALL_ROOT}/configure to create it." exit 1 isVersionOrHelp $* if [ $? -eq 1 ] then echo "No instance found. Run ${INSTALL_ROOT}/configure to create it." exit 1 fi fi fi else @@ -262,17 +267,20 @@ if [ "${SCRIPT_NAME}" != "configure" ] then NO_CHECK=0 for opt in `echo $*` do # No check for --version or --help option if [ $opt = "-V" ] || [ $opt = "--version" ] || [ $opt = "-H" ] || [ $opt = "--help" ] || [ $opt = "-F" ] || [ $opt = "--fullversion" ] then NO_CHECK=1 fi done # Perform check unless it is specified not to do it if [ -z "$NO_CHECK" ] then NO_CHECK=0 fi if [ ${NO_CHECK} -eq 0 ] then # No check for --version or --help option isVersionOrHelp $* if [ $? -eq 0 ] then NO_CHECK=1 fi fi if [ ${NO_CHECK} -eq 0 ] then set_classpath opends/resource/bin/control-panel
@@ -33,5 +33,8 @@ SCRIPT_NAME="control-panel" export SCRIPT_NAME NO_CHECK=0 export NO_CHECK SCRIPT_DIR=`dirname "${0}"` "${SCRIPT_DIR}/../lib/_client-script.sh" "${@}" opends/resource/bin/dsjavaproperties
@@ -33,5 +33,8 @@ SCRIPT_NAME="dsjavaproperties" export SCRIPT_NAME NO_CHECK=0 export NO_CHECK SCRIPT_DIR=`dirname "${0}"` "${SCRIPT_DIR}/../lib/_client-script.sh" "${@}" opends/resource/bin/status-panel
@@ -33,5 +33,8 @@ SCRIPT_NAME="control-panel" export SCRIPT_NAME NO_CHECK=0 export NO_CHECK SCRIPT_DIR=`dirname "${0}"` "${SCRIPT_DIR}/../lib/_client-script.sh" "${@}"