浏览代码

Don't need the bdsmail firewall

Bob Mottram 7 年前
父节点
当前提交
60857daa17
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0
    6
      src/freedombone-app-bdsmail

+ 0
- 6
src/freedombone-app-bdsmail 查看文件

207
         rm /etc/systemd/system/bdsmail.service
207
         rm /etc/systemd/system/bdsmail.service
208
     fi
208
     fi
209
 
209
 
210
-    firewall_remove $I2P_SAM_PORT
211
-    firewall_remove $I2P_SMTP_PORT
212
-
213
     for d in /home/*/ ; do
210
     for d in /home/*/ ; do
214
         USERNAME=$(echo "$d" | awk -F '/' '{print $3}')
211
         USERNAME=$(echo "$d" | awk -F '/' '{print $3}')
215
         if [[ $(is_valid_user "$USERNAME") == "1" ]]; then
212
         if [[ $(is_valid_user "$USERNAME") == "1" ]]; then
390
             exit 638762424;;
387
             exit 638762424;;
391
     esac
388
     esac
392
 
389
 
393
-    firewall_add i2psam $I2P_SAM_PORT
394
-    firewall_add i2psmtp $I2P_SMTP_PORT
395
-
396
     APP_INSTALLED=1
390
     APP_INSTALLED=1
397
 }
391
 }
398
 
392