|
|
@ -105,13 +105,15 @@ if [[ ! -z $JIBRI_XMPP_PASSWORD ]]; then |
|
|
|
prosodyctl --config $PROSODY_CFG register $JIBRI_XMPP_USER $XMPP_AUTH_DOMAIN $JIBRI_XMPP_PASSWORD |
|
|
|
prosodyctl --config $PROSODY_CFG register $JIBRI_XMPP_USER $XMPP_AUTH_DOMAIN $JIBRI_XMPP_PASSWORD |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [[ ! -z $JIBRI_RECORDER_PASSWORD ]]; then |
|
|
|
if [[ "$PROSODY_MODE" == "client" ]]; then |
|
|
|
OLD_JIBRI_RECORDER_PASSWORD=passw0rd |
|
|
|
if [[ ! -z $JIBRI_RECORDER_PASSWORD ]]; then |
|
|
|
if [[ "$JIBRI_RECORDER_PASSWORD" == "$OLD_JIBRI_RECORDER_PASSWORD" ]]; then |
|
|
|
OLD_JIBRI_RECORDER_PASSWORD=passw0rd |
|
|
|
echo 'FATAL ERROR: Jibri recorder password must be changed, check the README' |
|
|
|
if [[ "$JIBRI_RECORDER_PASSWORD" == "$OLD_JIBRI_RECORDER_PASSWORD" ]]; then |
|
|
|
exit 1 |
|
|
|
echo 'FATAL ERROR: Jibri recorder password must be changed, check the README' |
|
|
|
|
|
|
|
exit 1 |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
prosodyctl --config $PROSODY_CFG register $JIBRI_RECORDER_USER $XMPP_RECORDER_DOMAIN $JIBRI_RECORDER_PASSWORD |
|
|
|
fi |
|
|
|
fi |
|
|
|
prosodyctl --config $PROSODY_CFG register $JIBRI_RECORDER_USER $XMPP_RECORDER_DOMAIN $JIBRI_RECORDER_PASSWORD |
|
|
|
|
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [[ ! -z $JIGASI_XMPP_PASSWORD ]]; then |
|
|
|
if [[ ! -z $JIGASI_XMPP_PASSWORD ]]; then |
|
|
|