瀏覽代碼

Don't use matrix firewall

Bob Mottram 8 年之前
父節點
當前提交
7d143bce4d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/freedombone-app-matrix

+ 2
- 2
src/freedombone-app-matrix 查看文件

@@ -485,7 +485,7 @@ function restore_remote_matrix {
485 485
 }
486 486
 
487 487
 function remove_matrix {
488
-    firewall_remove ${MATRIX_HTTP_PORT}
488
+    #firewall_remove ${MATRIX_HTTP_PORT}
489 489
 
490 490
     systemctl stop matrix
491 491
     if [ -f /etc/systemd/system/sydent.service ]; then
@@ -692,7 +692,7 @@ function install_home_server {
692 692
         fi
693 693
     fi
694 694
 
695
-    firewall_add matrix ${MATRIX_HTTP_PORT}
695
+    #firewall_add matrix ${MATRIX_HTTP_PORT}
696 696
 
697 697
     rm -rf ${MATRIX_DATA_DIR}/Maildir
698 698
     rm -rf ${MATRIX_DATA_DIR}/.mutt