Pārlūkot izejas kodu

Don't need the bdsmail firewall

Bob Mottram 7 gadus atpakaļ
vecāks
revīzija
60857daa17
1 mainītis faili ar 0 papildinājumiem un 6 dzēšanām
  1. 0
    6
      src/freedombone-app-bdsmail

+ 0
- 6
src/freedombone-app-bdsmail Parādīt failu

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