From 5663bda852d6e2c19f6a11b0c2139b33b3b19cea Mon Sep 17 00:00:00 2001 From: Ark74 Date: Sat, 11 Apr 2020 04:59:29 -0500 Subject: [PATCH] Add brandless to updater --- quick_jibri_installer.sh | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index 0ed9c59..d4f6627 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -299,6 +299,16 @@ elif [ $ENABLE_SSL = yes ]; then echo "SSL will be enabled." fi done +#Brandless Mode +while [[ $ENABLE_BLESSM != yes && $ENABLE_BLESSM != no ]] +do +read -p "Do you want to install on custom \"Brandless mode\"?: (yes or no)"$'\n' -r ENABLE_BLESSM +if [ $ENABLE_BLESSM = no ]; then + echo "Brandless mode won't be set." +elif [ $ENABLE_BLESSM = yes ]; then + echo "Brandless mode will be set." +fi +done #Jibri Records Access (JRA) via Nextcloud while [[ $ENABLE_NC_ACCESS != yes && $ENABLE_NC_ACCESS != no ]] do @@ -368,7 +378,7 @@ echo ' ######################################################################## ' JibriBrewery=JibriBrewery -INT_CONF=/usr/share/jitsi-meet/interface_config.js +INT_CONF="/usr/share/jitsi-meet/interface_config.js" WAN_IP=$(dig +short myip.opendns.com @resolver1.opendns.com) ssl_wa() { @@ -679,6 +689,12 @@ if [ "$(dpkg-query -W -f='${Status}' nginx 2>/dev/null | grep -c "ok installed") else echo "No webserver found please report." fi +#Brandless Mode +if [ $ENABLE_BLESSM = yes ]; then + echo "Jigasi Transcription will be enabled." + sed -i "s|ENABLE_BLESSM=.*|ENABLE_BLESSM=\"on\"|" jitsi-updater.sh + bash $PWD/jm-bm.sh +fi #JRA via Nextcloud if [ $ENABLE_NC_ACCESS = yes ]; then echo "Jigasi Transcription will be enabled."