From 5b0583208d32bed021009373b212a7c3ef458210 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Fri, 23 Apr 2021 06:57:44 -0500 Subject: [PATCH] Add enable close page option --- 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 75fed37..27fbf91 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -505,6 +505,16 @@ do echo "Welcome page will be enabled." fi done +#Close page +while [[ "$ENABLE_CLOCP" != "yes" && "$ENABLE_CLOCP" != "no" ]] +do + read -p "> Do you want to enable the actual close page: (yes or no)"$'\n' -r ENABLE_CLOCP + if [ "$ENABLE_CLOCP" = "yes" ]; then + echo "Close page will be enabled." + elif [ "$ENABLE_CLOCP" = "no" ]; then + echo "Close page will be keept disabled." + fi +done #Enable static avatar while [[ "$ENABLE_SA" != "yes" && "$ENABLE_SA" != "no" ]] do @@ -711,7 +721,7 @@ VirtualHost "recorder.$DOMAIN" modules_enabled = { "ping"; } - authentication = "internal_plain" + authentication = "internal_hashed" REC-JIBRI @@ -1062,6 +1072,12 @@ if [ "$ENABLE_WELCP" = "yes" ]; then elif [ "$ENABLE_WELCP" = "no" ]; then sed -i "s|.*enableWelcomePage:.*| enableWelcomePage: true,|" $MEET_CONF fi +#Enable close page +if [ "$ENABLE_CLOCP" = "yes" ]; then + sed -i "s|.*enableClosePage:.*| enableClosePage: true,|" $MEET_CONF +elif [ "$ENABLE_CLOCP" = "no" ]; then + sed -i "s|.*enableClosePage:.*| enableClosePage: false,|" $MEET_CONF +fi #Set displayname as not required since jibri can't set it up. sed -i "s|// requireDisplayName: true,|requireDisplayName: false,|" $MEET_CONF