summaryrefslogtreecommitdiff
path: root/scripts/rabbitmq-deactivate-plugins
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2009-09-24 12:06:08 +0100
committerMatthias Radestock <matthias@lshift.net>2009-09-24 12:06:08 +0100
commitb441f9e9f251859aa3e72a63c92a04cb1040ee3f (patch)
treed1f3df2e2413f825d484a888a82b8fd33f988258 /scripts/rabbitmq-deactivate-plugins
parent9640c26cbd8488b0321ec96c350abf1e24f242f2 (diff)
parent319d2344da30a0bd4211baafccbe9d5653abe777 (diff)
downloadrabbitmq-server-git-b441f9e9f251859aa3e72a63c92a04cb1040ee3f.tar.gz
merge bug21559 into default
Diffstat (limited to 'scripts/rabbitmq-deactivate-plugins')
-rwxr-xr-xscripts/rabbitmq-deactivate-plugins37
1 files changed, 37 insertions, 0 deletions
diff --git a/scripts/rabbitmq-deactivate-plugins b/scripts/rabbitmq-deactivate-plugins
new file mode 100755
index 0000000000..771c473496
--- /dev/null
+++ b/scripts/rabbitmq-deactivate-plugins
@@ -0,0 +1,37 @@
+#!/bin/sh
+## The contents of this file are subject to the Mozilla Public License
+## Version 1.1 (the "License"); you may not use this file except in
+## compliance with the License. You may obtain a copy of the License at
+## http://www.mozilla.org/MPL/
+##
+## Software distributed under the License is distributed on an "AS IS"
+## basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+## License for the specific language governing rights and limitations
+## under the License.
+##
+## The Original Code is RabbitMQ.
+##
+## The Initial Developers of the Original Code are LShift Ltd,
+## Cohesive Financial Technologies LLC, and Rabbit Technologies Ltd.
+##
+## Portions created before 22-Nov-2008 00:00:00 GMT by LShift Ltd,
+## Cohesive Financial Technologies LLC, or Rabbit Technologies Ltd
+## are Copyright (C) 2007-2008 LShift Ltd, Cohesive Financial
+## Technologies LLC, and Rabbit Technologies Ltd.
+##
+## Portions created by LShift Ltd are Copyright (C) 2007-2009 LShift
+## Ltd. Portions created by Cohesive Financial Technologies LLC are
+## Copyright (C) 2007-2009 Cohesive Financial Technologies
+## LLC. Portions created by Rabbit Technologies Ltd are Copyright
+## (C) 2007-2009 Rabbit Technologies Ltd.
+##
+## All Rights Reserved.
+##
+## Contributor(s): ______________________________________.
+##
+
+. `dirname $0`/rabbitmq-env
+
+RABBITMQ_EBIN=${RABBITMQ_HOME}/ebin
+
+rm -f ${RABBITMQ_EBIN}/rabbit.rel ${RABBITMQ_EBIN}/rabbit.script ${RABBITMQ_EBIN}/rabbit.boot