From 853f30a80e2ad7c90258dee4b0e575c859673b75 Mon Sep 17 00:00:00 2001 From: Ghazi Triki Date: Tue, 24 Jul 2018 10:35:48 +0100 Subject: [PATCH] Clean bbb-conf from unused variables. --- bigbluebutton-config/bin/bbb-conf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/bigbluebutton-config/bin/bbb-conf b/bigbluebutton-config/bin/bbb-conf index 0edb1511e9..7ecdf03e24 100755 --- a/bigbluebutton-config/bin/bbb-conf +++ b/bigbluebutton-config/bin/bbb-conf @@ -804,7 +804,7 @@ check_configuration() { # - # Check if BigBlueButto is defined in Nginx + # Check if BigBlueButton is defined in Nginx # if [ ! -L /etc/nginx/sites-enabled/bigbluebutton ]; then echo "# Nginx: BigBlueButton appears to be disabled" @@ -1634,7 +1634,7 @@ if [ $CHECK ]; then fi # -# Check current setup +# Zip log files # if [ $ZIP ]; then need_root @@ -1832,12 +1832,8 @@ if [ -n "$HOST" ]; then if [ -f /usr/share/bbb-apps-akka/conf/application.conf ]; then sed -i "s/bbbWebAPI[ ]*=[ ]*\"[^\"]*\"/bbbWebAPI=\"${PROTOCOL_HTTP}:\/\/$HOST\/bigbluebutton\/api\"/g" \ /usr/share/bbb-apps-akka/conf/application.conf - sed -i "s/bbbWebHost[ ]*=[ ]*\"[^\"]*\"/bbbWebHost=\"$HOST\"/g" \ - /usr/share/bbb-apps-akka/conf/application.conf sed -i "s/deskshareip[ ]*=[ ]*\"[^\"]*\"/deskshareip=\"$HOST\"/g" \ /usr/share/bbb-apps-akka/conf/application.conf - sed -i "s/defaultPresentationURL[ ]*=[ ]*\"[^\"]*\"/defaultPresentationURL=\"${PROTOCOL_HTTP}:\/\/$HOST\/default.pdf\"/g" \ - /usr/share/bbb-apps-akka/conf/application.conf # Fix to ensure application.conf has the latest shared secret SECRET=$(cat ${SERVLET_DIR}/bigbluebutton/WEB-INF/classes/bigbluebutton.properties | grep -v '#' | grep securitySalt | cut -d= -f2); sed -i "s/sharedSecret[ ]*=[ ]*\"[^\"]*\"/sharedSecret=\"$SECRET\"/g" \