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
This commit is contained in:
parent
171b17393d
commit
2a67a125be
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user