Sfoglia il codice sorgente

Remove firewall commands for gnusocial/postactiv

Bob Mottram 7 anni fa
parent
commit
c0e50a0685
2 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 4
    0
      src/freedombone-app-gnusocial
  2. 4
    0
      src/freedombone-app-postactiv

+ 4
- 0
src/freedombone-app-gnusocial Vedi File

@@ -614,6 +614,10 @@ function remove_gnusocial {
614 614
     sed -i 's|mysqli.allow_persistent.*|mysqli.allow_persistent = On|g' /etc/php/7.0/cli/php.ini
615 615
     sed -i 's|mysqli.reconnect.*|mysqli.reconnect = Off|g' /etc/php/7.0/cli/php.ini
616 616
 
617
+    if [ -f /usr/bin/gnusocial-firewall ]; then
618
+        rm /usr/bin/gnusocial-firewall
619
+    fi
620
+
617 621
     function_check remove_ddns_domain
618 622
     remove_ddns_domain "$GNUSOCIAL_DOMAIN_NAME"
619 623
 }

+ 4
- 0
src/freedombone-app-postactiv Vedi File

@@ -627,6 +627,10 @@ function remove_postactiv {
627 627
     sed -i 's|mysqli.allow_persistent.*|mysqli.allow_persistent = On|g' /etc/php/7.0/cli/php.ini
628 628
     sed -i 's|mysqli.reconnect.*|mysqli.reconnect = Off|g' /etc/php/7.0/cli/php.ini
629 629
 
630
+    if [ -f /usr/bin/postactiv-firewall ]; then
631
+        rm /usr/bin/postactiv-firewall
632
+    fi
633
+
630 634
     function_check remove_ddns_domain
631 635
     remove_ddns_domain "$POSTACTIV_DOMAIN_NAME"
632 636
 }