Fix path for bbb_api_conf.jsp

This commit is contained in:
Fred Dixon 2019-04-09 20:00:48 -04:00 committed by GitHub
parent 06fa63c46f
commit caa6b9a85e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -729,7 +729,7 @@ check_configuration() {
echo echo
fi 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 if [ "$IP" != "$API_IP" ]; then
echo "# Warning: API URL IPs do not match host:" echo "# Warning: API URL IPs do not match host:"
echo "#" echo "#"