Add brandless to updater

This commit is contained in:
Luis Guzmán 2020-04-11 04:59:29 -05:00
parent a5ec47e576
commit 5663bda852
1 changed files with 17 additions and 1 deletions

View File

@ -299,6 +299,16 @@ elif [ $ENABLE_SSL = yes ]; then
echo "SSL will be enabled." echo "SSL will be enabled."
fi fi
done 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 #Jibri Records Access (JRA) via Nextcloud
while [[ $ENABLE_NC_ACCESS != yes && $ENABLE_NC_ACCESS != no ]] while [[ $ENABLE_NC_ACCESS != yes && $ENABLE_NC_ACCESS != no ]]
do do
@ -368,7 +378,7 @@ echo '
######################################################################## ########################################################################
' '
JibriBrewery=JibriBrewery 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) WAN_IP=$(dig +short myip.opendns.com @resolver1.opendns.com)
ssl_wa() { ssl_wa() {
@ -679,6 +689,12 @@ if [ "$(dpkg-query -W -f='${Status}' nginx 2>/dev/null | grep -c "ok installed")
else else
echo "No webserver found please report." echo "No webserver found please report."
fi 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 #JRA via Nextcloud
if [ $ENABLE_NC_ACCESS = yes ]; then if [ $ENABLE_NC_ACCESS = yes ]; then
echo "Jigasi Transcription will be enabled." echo "Jigasi Transcription will be enabled."