Skip to content
Snippets Groups Projects
Unverified Commit 9524ea41 authored by Dixon Fred's avatar Dixon Fred Committed by GitHub
Browse files

Merge pull request #6033 from ffdixon/fix-bbb-conf-file-check

Check that HTML5_CONFIG file exists before scanning it
parents 4a643cfa 2483d4ff
No related branches found
No related tags found
No related merge requests found
......@@ -947,7 +947,8 @@ check_configuration() {
echo
fi
if grep \"enableListenOnly\".*true $HTML5_CONFIG > /dev/null; then
if [ -f $HTML5_CONFIG ]; then
if grep \"enableListenOnly\".*true $HTML5_CONFIG > /dev/null; then
if ! grep -q ws-binding $FREESWITCH_EXTERNAL ; then
echo "# Warning: You have enabled listen-only audio via Kurento"
echo "# but FreeSWITCH is not listening on port 5066. You should edit "
......@@ -957,6 +958,7 @@ check_configuration() {
echo "# and add a line that enables ws-binding on port 5066."
echo
fi
fi
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment