瀏覽代碼

create onion address for webmail

Bob Mottram 9 年之前
父節點
當前提交
b067a9b2f6
共有 1 個文件被更改,包括 2 次插入5 次删除
  1. 2
    5
      src/freedombone

+ 2
- 5
src/freedombone 查看文件

@@ -8887,11 +8887,8 @@ function install_webmail {
8887 8887
         exit 52825
8888 8888
     fi
8889 8889
     
8890
-    WEBMAIL_ONION_HOSTNAME=
8891
-    if [[ $ONION_ONLY != "no" ]]; then
8892
-        WEBMAIL_ONION_HOSTNAME=$(add_onion_service webmail 80 ${WEBMAIL_ONION_PORT})
8893
-        echo "Webmail onion domain:${WEBMAIL_ONION_HOSTNAME}" >> $COMPLETION_FILE
8894
-    fi
8890
+    WEBMAIL_ONION_HOSTNAME=$(add_onion_service webmail 80 ${WEBMAIL_ONION_PORT})
8891
+    echo "Webmail onion domain:${WEBMAIL_ONION_HOSTNAME}" >> $COMPLETION_FILE
8895 8892
 
8896 8893
     get_mariadb_webmail_admin_password  
8897 8894
     if [ ! $WEBMAIL_ADMIN_PASSWORD ]; then