forked from switnet/quick-jibri-installer
jigasi: update jigasi configuration.
This commit is contained in:
parent
b9b5d2e326
commit
059213caa4
|
@ -27,17 +27,15 @@ echo ''
|
||||||
|
|
||||||
exit_if_not_installed jitsi-meet
|
exit_if_not_installed jitsi-meet
|
||||||
|
|
||||||
export DOMAIN="$(find /etc/prosody/conf.d/ -name \*.lua|awk -F'.cfg' '!/localhost/{print $1}'|xargs basename)"
|
DOMAIN="$(find /etc/prosody/conf.d/ -name \*.lua|awk -F'.cfg' '!/localhost/{print $1}'|xargs basename)"
|
||||||
export JIG_TRANSC_PASWD="$(tr -dc "a-zA-Z0-9#*=" < /dev/urandom | fold -w 16 | head -n1)"
|
JIG_TRANSC_PASWD="$(tr -dc "a-zA-Z0-9#*=" < /dev/urandom | fold -w 16 | head -n1)"
|
||||||
JIGASI_CONFIG="/etc/jitsi/jigasi/config"
|
|
||||||
MEET_CONF="/etc/jitsi/meet/${DOMAIN}-config.js"
|
|
||||||
JIG_SIP_CONF="/etc/jitsi/jigasi/config"
|
|
||||||
JIG_SIP_PROP="/etc/jitsi/jigasi/sip-communicator.properties"
|
JIG_SIP_PROP="/etc/jitsi/jigasi/sip-communicator.properties"
|
||||||
#JIG_TRANSC_PASWD_B64="$(echo -n "$JIG_TRANSC_PASWD" | base64)"
|
export DOMAIN
|
||||||
|
export JIG_TRANSC_PASWD
|
||||||
|
|
||||||
apt-get -q2 update
|
apt-get -q2 update
|
||||||
|
|
||||||
# Disbale
|
# Disable SIP account prompt by default
|
||||||
echo "jigasi jigasi/sip-account string ''" | debconf-set-selections
|
echo "jigasi jigasi/sip-account string ''" | debconf-set-selections
|
||||||
echo "jigasi jigasi/sip-password password ''" | debconf-set-selections
|
echo "jigasi jigasi/sip-password password ''" | debconf-set-selections
|
||||||
|
|
||||||
|
@ -54,7 +52,7 @@ echo "6) Japanese"
|
||||||
echo "7) Russian"
|
echo "7) Russian"
|
||||||
echo "8) Spanish"
|
echo "8) Spanish"
|
||||||
|
|
||||||
read -p "Enter the number corresponding to your language choice: " lang_choice
|
read -p "Enter the number corresponding to your language choice: " -r lang_choice
|
||||||
|
|
||||||
case $lang_choice in
|
case $lang_choice in
|
||||||
1)
|
1)
|
||||||
|
|
Loading…
Reference in New Issue