summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSteve Powell <steve@rabbitmq.com>2012-02-24 10:10:05 +0000
committerSteve Powell <steve@rabbitmq.com>2012-02-24 10:10:05 +0000
commitffc96cd132e6bcbd1ab72e84f63575a5cb9d9508 (patch)
treeb683fce9798477e22a692e250dc035424782ba52 /scripts
parentc5f162cafd84975e81528aaec762bfe5a6c81557 (diff)
downloadrabbitmq-server-ffc96cd132e6bcbd1ab72e84f63575a5cb9d9508.tar.gz
Rename rabbitmq-sys to rabbitmq-locations
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rabbitmq-env10
-rw-r--r--scripts/rabbitmq-locations (renamed from scripts/rabbitmq-sys)0
2 files changed, 2 insertions, 8 deletions
diff --git a/scripts/rabbitmq-env b/scripts/rabbitmq-env
index 1e3a0608..3eb69524 100755
--- a/scripts/rabbitmq-env
+++ b/scripts/rabbitmq-env
@@ -36,14 +36,8 @@ RABBITMQ_HOME="${SCRIPT_DIR}/.."
[ "x" = "x$HOSTNAME" ] && HOSTNAME=`env hostname`
NODENAME=rabbit@${HOSTNAME%%.*}
-## Set system defaults
-if [ ! -f ${SCRIPT_DIR}/rabbitmq-sys ]; then
- echo -n "WARNING: system defaults are not available -- "
- echo "check the installation completed correctly."
- exit 1
-fi
-
-. ${SCRIPT_DIR}/rabbitmq-sys
+## Get system default locations
+. ${SCRIPT_DIR}/rabbitmq-locations
## Get configuration variables from the configure environment file
if [ -f ${OLD_CONF_ENV_FILE} ] && \
diff --git a/scripts/rabbitmq-sys b/scripts/rabbitmq-locations
index 7b7dfa59..7b7dfa59 100644
--- a/scripts/rabbitmq-sys
+++ b/scripts/rabbitmq-locations