diff --git a/bigbluebutton-config/bin/bbb-conf b/bigbluebutton-config/bin/bbb-conf index df16149648..f0e0e757a0 100755 --- a/bigbluebutton-config/bin/bbb-conf +++ b/bigbluebutton-config/bin/bbb-conf @@ -238,10 +238,10 @@ display_bigbluebutton_status () { /etc/init.d/${TOMCAT} status } -#if [ $# -eq 0 ]; then -# usage -# exit 1 -#fi +if [ $# -eq 0 ]; then + usage + exit 1 +fi # Parse the parameters while [ $# -gt 0 ]; do @@ -320,7 +320,7 @@ while [ $# -gt 0 ]; do fi shift; shift continue - fi + fi # # all other parameters requires at least 1 argument @@ -982,6 +982,10 @@ if [ $CHECK ]; then MEM=`free -m | grep Mem | awk '{ print $2}'` echo "Memory: $MEM MB" + if [ -e /etc/lsb-release ]; then + cat /etc/lsb-release; + fi + echo echo "/var/www/bigbluebutton/client/conf/config.xml:" IP=$(cat /var/www/bigbluebutton/client/conf/config.xml | sed -n '/porttest /{s/.*host="//;s/".*//;p}')