| | |
| | | # |
| | | # |
| | | # Copyright 2008-2010 Sun Microsystems, Inc. |
| | | # Portions Copyright 2011 ForgeRock AS |
| | | # Portions Copyright 2011-2013 ForgeRock AS |
| | | |
| | | |
| | | # This script is used to invoke processes that might be run on server or |
| | |
| | | # 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 |
| | |
| | | # 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 |