Fix path for bbb_api_conf.jsp
This commit is contained in:
parent
06fa63c46f
commit
caa6b9a85e
@ -729,7 +729,7 @@ check_configuration() {
|
||||
echo
|
||||
fi
|
||||
|
||||
API_IP=$(cat ${TOMCAT_DIR}/demo/bbb_api_conf.jsp | grep -v '^//' | sed -n '/String BigBlueButtonURL/{s/.*http[s]*:\/\///;s/\/.*//;p}' | tr -d '\015')
|
||||
API_IP=$(cat /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp | grep -v '^//' | sed -n '/String BigBlueButtonURL/{s/.*http[s]*:\/\///;s/\/.*//;p}' | tr -d '\015')
|
||||
if [ "$IP" != "$API_IP" ]; then
|
||||
echo "# Warning: API URL IPs do not match host:"
|
||||
echo "#"
|
||||
|
Loading…
Reference in New Issue
Block a user