aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2009-12-11 19:42:59 +0000
committerBadlop <badlop@process-one.net>2009-12-11 19:42:59 +0000
commitb9e57a341de8be9212cd5d9bfe8b94aa573042e1 (patch)
treeb6a51d8cd2647e46697b01f53bfd021f9c064fea
parentAdd support for serving a Unique Room Name (thanks to Pablo Polvorin)(EJAB-1121) (diff)
Added to ejabberdctl an experimental variable EJABBERD_BYPASS_WARNINGS
SVN Revision: 2804
-rw-r--r--doc/Makefile2
-rw-r--r--src/ejabberdctl.template12
2 files changed, 11 insertions, 3 deletions
diff --git a/doc/Makefile b/doc/Makefile
index e0dec3789..55d34ae5d 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -16,7 +16,7 @@ release:
@echo "* Do not forget to update the version number in src/ejabberd.app!"
@echo "* Do not forget to update the features in introduction.tex (including \new{} and \improved{} tags)."
@echo "Press any key to continue"
- @read foo
+ ##@read foo
@echo "% ejabberd version (automatically generated)." > version.tex
@echo "\newcommand{\version}{"`sed '/vsn/!d;s/\(.*\)"\(.*\)"\(.*\)/\2/' ../src/ejabberd.app`"}" >> version.tex
@echo -n "% Contributed modules (automatically generated)." > contributed_modules.tex
diff --git a/src/ejabberdctl.template b/src/ejabberdctl.template
index 5ebfb5f6f..755c02bf3 100644
--- a/src/ejabberdctl.template
+++ b/src/ejabberdctl.template
@@ -159,8 +159,12 @@ debug ()
echo " control+c, control+c"
echo ""
echo "--------------------------------------------------------------------"
+ echo "To bypass permanently this warning, add to ejabberdctl.cfg the line:"
+ echo " EJABBERD_BYPASS_WARNINGS=true"
echo "Press any key to continue"
- read foo
+ if [ "$EJABBERD_BYPASS_WARNINGS" != "true" ] ; then
+ read foo
+ fi
echo ""
$EXEC_CMD "$ERL \
$NAME debug-${ERLANG_NODE} \
@@ -184,8 +188,12 @@ live ()
echo " q(). and press the Enter key"
echo ""
echo "--------------------------------------------------------------------"
+ echo "To bypass permanently this warning, add to ejabberdctl.cfg the line:"
+ echo " EJABBERD_BYPASS_WARNINGS=true"
echo "Press any key to continue"
- read foo
+ if [ "$EJABBERD_BYPASS_WARNINGS" != "true" ] ; then
+ read foo
+ fi
echo ""
$EXEC_CMD "$ERL \
$NAME $ERLANG_NODE \