瀏覽代碼

Don't need to copy jitsi certs

Bob Mottram 8 年之前
父節點
當前提交
368fd5b8d2
共有 1 個檔案被更改,包括 0 行新增15 行删除
  1. 0
    15
      src/freedombone-utils-web

+ 0
- 15
src/freedombone-utils-web 查看文件

@@ -691,21 +691,6 @@ function update_default_domain {
691 691
     echo $'Updating default domain'
692 692
     if [[ $ONION_ONLY == 'no' ]]; then
693 693
         if [ -d /etc/prosody ]; then
694
-            if [ -d /etc/jitsi ]; then
695
-                read_config_param "JITSI_DOMAIN_NAME"
696
-                if [ ${#JITSI_DOMAIN_NAME} -gt 0 ]; then
697
-                    if [ -f /etc/ssl/private/${JITSI_DOMAIN_NAME}.key ]; then
698
-                        cp /etc/ssl/private/${JITSI_DOMAIN_NAME}.key /etc/prosody/certs/${JITSI_DOMAIN_NAME}.key
699
-                    fi
700
-                    if [ -f /etc/ssl/certs/${JITSI_DOMAIN_NAME}.crt ]; then
701
-                        cp /etc/ssl/certs/${JITSI_DOMAIN_NAME}.crt /etc/prosody/certs/${JITSI_DOMAIN_NAME}.pem
702
-                    fi
703
-                    if [ -f /etc/ssl/certs/${JITSI_DOMAIN_NAME}.pem ]; then
704
-                        cp /etc/ssl/certs/${JITSI_DOMAIN_NAME}.pem /etc/prosody/certs/${JITSI_DOMAIN_NAME}.pem
705
-                    fi
706
-                fi
707
-            fi
708
-
709 694
             if [ -f /etc/mumble-server.ini ]; then
710 695
                 if [ ! -f /etc/ssl/certs/${DEFAULT_DOMAIN_NAME}.pem ]; then
711 696
                     if ! grep -q "mumble.pem" /etc/mumble-server.ini; then