1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 01:39:35 +02:00

Allow bypassing script interraction (#516)

This commit is contained in:
Christophe Romain 2015-04-23 10:14:08 +02:00
parent 38dd44e18f
commit 23aa8598ab
2 changed files with 31 additions and 25 deletions

View file

@ -21,6 +21,7 @@ function error
exit $2
}
[ -z $NO_WARNINGS ] && {
echo "--------------------------------------------------------------------"
echo ""
echo "ejabberd cluster configuration"
@ -34,6 +35,7 @@ echo "--------------------------------------------------------------------"
echo "Press any key to continue, or Ctrl+C to stop now"
read foo
echo ""
}
[ $# -eq 0 ] && {
echo "Make sure you have a running remote master ejabberd node"

View file

@ -17,6 +17,7 @@ function error
exit $2
}
[ -z $NO_WARNINGS ] && {
echo "--------------------------------------------------------------------"
echo ""
echo "ejabberd cluster configuration"
@ -29,6 +30,9 @@ echo "--------------------------------------------------------------------"
echo "Press any key to continue, or Ctrl+C to stop now"
read foo
echo ""
}
echo ok
exit
PA=/tmp/clustersetup_$$
CTL=$(which ejabberdctl)