forked from switnet/quick-jibri-installer
parent
546fe2587f
commit
b63021a76d
|
@ -207,6 +207,10 @@ restart_services
|
||||||
# Brandless mode #
|
# Brandless mode #
|
||||||
########################################################################
|
########################################################################
|
||||||
if [ "$ENABLE_BLESSM" = "on" ]; then
|
if [ "$ENABLE_BLESSM" = "on" ]; then
|
||||||
|
if [ "$MODE" = "debug" ]; then
|
||||||
|
bash "$PWD"/jm-bm.sh -m debug
|
||||||
|
else
|
||||||
bash "$PWD"/jm-bm.sh
|
bash "$PWD"/jm-bm.sh
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
printwc "${Blue}" "Script completed \o/!\n"
|
printwc "${Blue}" "Script completed \o/!\n"
|
||||||
|
|
2
jm-bm.sh
2
jm-bm.sh
|
@ -67,7 +67,7 @@ sed -i "s|jitsilogo.png|watermark2.png|g" "$TITLE_FILE"
|
||||||
sed -i "s|logo-deep-linking.png|watermark2.png|g" "$BUNDLE_JS"
|
sed -i "s|logo-deep-linking.png|watermark2.png|g" "$BUNDLE_JS"
|
||||||
sed -i "s|jitsiLogo_square.png|gnome_record.png|g" "$BUNDLE_JS"
|
sed -i "s|jitsiLogo_square.png|gnome_record.png|g" "$BUNDLE_JS"
|
||||||
#Disable logo and url
|
#Disable logo and url
|
||||||
if ! grep -nr ".leftwatermark{display:none" "$CSS_FILE" ; then
|
if ! grep -q ".leftwatermark{display:none" "$CSS_FILE" ; then
|
||||||
sed -i "s|.leftwatermark{|.leftwatermark{display:none;|" "$CSS_FILE"
|
sed -i "s|.leftwatermark{|.leftwatermark{display:none;|" "$CSS_FILE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1092,8 +1092,12 @@ sleep .1
|
||||||
###JWT
|
###JWT
|
||||||
if [ "$ENABLE_JWT" = "yes" ]; then
|
if [ "$ENABLE_JWT" = "yes" ]; then
|
||||||
printf "\nJWT auth is being setup...\n"
|
printf "\nJWT auth is being setup...\n"
|
||||||
|
if [ "$MODE" = "debug" ]; then
|
||||||
|
bash "$PWD"/mode/jwt.sh -m debug
|
||||||
|
else
|
||||||
bash "$PWD"/mode/jwt.sh
|
bash "$PWD"/mode/jwt.sh
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
sleep .1
|
sleep .1
|
||||||
#Guest allow
|
#Guest allow
|
||||||
#Change back lobby - https://community.jitsi.org/t/64769/136
|
#Change back lobby - https://community.jitsi.org/t/64769/136
|
||||||
|
@ -1201,8 +1205,12 @@ fi
|
||||||
if [ "$ENABLE_BLESSM" = "yes" ]; then
|
if [ "$ENABLE_BLESSM" = "yes" ]; then
|
||||||
echo "Custom brandless mode will be enabled."
|
echo "Custom brandless mode will be enabled."
|
||||||
sed -i "s|ENABLE_BLESSM=.*|ENABLE_BLESSM=\"on\"|" jitsi-updater.sh
|
sed -i "s|ENABLE_BLESSM=.*|ENABLE_BLESSM=\"on\"|" jitsi-updater.sh
|
||||||
|
if [ "$MODE" = "debug" ]; then
|
||||||
|
bash "$PWD"/jm-bm.sh -m debug
|
||||||
|
else
|
||||||
bash "$PWD"/jm-bm.sh
|
bash "$PWD"/jm-bm.sh
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Applying best practives for interface config.js
|
# Applying best practives for interface config.js
|
||||||
printf "\n> Setting up custom interface_config.js according to best practices."
|
printf "\n> Setting up custom interface_config.js according to best practices."
|
||||||
|
|
Loading…
Reference in New Issue