From b9e57a341de8be9212cd5d9bfe8b94aa573042e1 Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 11 Dec 2009 19:42:59 +0000 Subject: Added to ejabberdctl an experimental variable EJABBERD_BYPASS_WARNINGS SVN Revision: 2804 --- src/ejabberdctl.template | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/ejabberdctl.template') 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 \ -- cgit v1.2.3