From 2a67a125be178194aca8d270d2bec57c52d731bb Mon Sep 17 00:00:00 2001 From: Fred Dixon Date: Sun, 24 Jan 2010 21:54:14 +0000 Subject: [PATCH] Fixed bbb-conf --setip so it property set IP /var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jsp git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@3482 af16638f-c34d-0410-8cfa-b39d5352b314 --- bigbluebutton-config/bin/bbb-conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bigbluebutton-config/bin/bbb-conf b/bigbluebutton-config/bin/bbb-conf index 9894710308..5ab86108a5 100755 --- a/bigbluebutton-config/bin/bbb-conf +++ b/bigbluebutton-config/bin/bbb-conf @@ -777,10 +777,10 @@ if [ -n "$HOST" ]; then # Update api demos # - if [ -f /var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api.jsp ]; then - echo "Assigning $HOST for api demos in /var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api.jsp" + if [ -f /var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jsp ]; then + echo "Assigning $HOST for api demos in /var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jsp" sudo sed -i "s/BigBlueButtonURL = \"http:\/\/\([^\"\/]*\)\([\"\/]\)/BigBlueButtonURL = \"http:\/\/$HOST\2/g" \ - /var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api.jsp + /var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jsp fi