archivos de configuracion, scripts y assets customizados de greenlight, scalelite y bigbluebutton
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

apply-config-faera.sh 5.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #!/bin/bash
  2. # Pull in the helper functions for configuring BigBlueButton
  3. source /etc/bigbluebutton/bbb-conf/apply-lib.sh
  4. enableUFWRules
  5. sed -i 's/defaultWelcomeMessage=.*/defaultWelcomeMessage=Bienvenido a <b>%%CONFNAME%%<\/b>!<br>/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  6. sed -i 's/defaultWelcomeMessageFooter=.*/defaultWelcomeMessageFooter=Para recibir mas informacion acerca de nuestro servicio de plataforma segura para Escuela Virtual enviar un correo a <b>info@cseducacion.com.ar<\/b>/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  7. echo "" > /var/www/bigbluebutton-default/index.html
  8. yq w -i /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml public.app.clientTitle 'Faera'
  9. yq w -i /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml public.app.appName 'Faera Client'
  10. yq w -i /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml public.app.copyright '2020 DigitalCSE Inc.'
  11. yq w -i /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml public.app.helpLink 'https://digitalcse.com'
  12. yq w -i /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml public.kurento.cameraProfiles.[0].bitrate 50
  13. yq w -i /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml public.kurento.cameraProfiles.[1].bitrate 100
  14. yq w -i /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml public.kurento.cameraProfiles.[2].bitrate 150
  15. yq w -i /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml public.kurento.cameraProfiles.[3].bitrate 200
  16. yq w -i /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml public.kurento.cameraProfiles.[0].default true
  17. yq w -i /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml public.kurento.cameraProfiles.[1].default false
  18. yq w -i /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml public.kurento.cameraProfiles.[2].default false
  19. yq w -i /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml public.kurento.cameraProfiles.[3].default false
  20. #sed -i 's/defaultMaxUsers=.*/defaultMaxUsers=120/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  21. sed -i 's/defaultMeetingDuration=.*/defaultMeetingDuration=720/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  22. #sed -i 's/maxInactivityTimeoutMinutes=.*/maxInactivityTimeoutMinutes=60/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  23. #sed -i 's/clientLogoutTimerInMinutes=.*/clientLogoutTimerInMinutes=120/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  24. #sed -i 's/warnMinutesBeforeMax=.*/warnMinutesBeforeMax=5/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  25. #sed -i 's/meetingExpireIfNoUserJoinedInMinutes=.*/meetingExpireIfNoUserJoinedInMinutes=5/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  26. #sed -i 's/meetingExpireWhenLastUserLeftInMinutes=.*/meetingExpireWhenLastUserLeftInMinutes=1/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  27. #sed -i 's/userInactivityThresholdInMinutes=.*/userInactivityThresholdInMinutes=120/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  28. #sed -i 's/userActivitySignResponseDelayInMinutes=.*/userActivitySignResponseDelayInMinutes=5/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  29. sed -i 's/allowStartStopRecording=.*/allowStartStopRecording=false/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  30. sed -i 's/lockSettingsDisableCam=.*/lockSettingsDisableCam=true/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  31. sed -i 's/lockSettingsDisableMic=.*/lockSettingsDisableMic=false/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  32. sed -i 's/lockSettingsDisablePrivateChat=.*/lockSettingsDisablePrivateChat=true/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  33. sed -i 's/lockSettingsDisablePublicChat=.*/lockSettingsDisablePublicChat=false/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  34. sed -i 's/lockSettingsDisableNote=.*/lockSettingsDisableNote=true/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  35. sed -i 's/lockSettingsHideUserList=.*/lockSettingsHideUserList=false/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  36. sed -i 's/lockSettingsLockedLayout=.*/lockSettingsLockedLayout=false/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  37. sed -i 's/lockSettingsLockOnJoin=.*/lockSettingsLockOnJoin=true/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  38. sed -i 's/lockSettingsLockOnJoinConfigurable=.*/lockSettingsLockOnJoinConfigurable=false/g' /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
  39. if [ ! -f /var/www/bigbluebutton-default/faera_presentation.pdf ]; then
  40. wget -O /var/www/bigbluebutton-default/faera_presentation.pdf https://digitalcse-001.nyc3.digitaloceanspaces.com/faera_presentation.pdf
  41. fi
  42. cp /var/www/bigbluebutton-default/faera_presentation.pdf /var/www/bigbluebutton-default/default.pdf
  43. if [ ! -f /var/www/bigbluebutton-default/LOGO_CSE-FINAL.ico ]; then
  44. wget -O /var/www/bigbluebutton-default/LOGO_CSE-FINAL.ico https://storage.googleapis.com/agl-01/LOGO-CSE-FINAL.ico
  45. fi
  46. cp /var/www/bigbluebutton-default/LOGO_CSE-FINAL.ico /var/www/bigbluebutton-default/favicon.ico
  47. sed -i 's/defaultCopyright = .*/defaultCopyright = "<p>DigitalCSE<\/p>"/g' /var/bigbluebutton/playback/presentation/2.0/playback.js
  48. if [ ! -f /var/www/bigbluebutton/client/guest-wait-digitalcse.html ]; then
  49. wget -O /var/www/bigbluebutton/client/guest-wait-digitalcse.html http://git.bluekitsune.com/bluekitsune-public/customfiles/raw/branch/master/guest-wait.html
  50. fi
  51. cp /var/www/bigbluebutton/client/guest-wait-digitalcse.html /var/www/bigbluebutton/client/guest-wait.html