Explorar o código

Also remove for v-stop-firewall

See https://github.com/hestiacp/hestiacp/commit/008b4b125891481a4b0b68c8dc66d0ff81ffd391#r76782263
Jaap Marcus %!s(int64=3) %!d(string=hai) anos
pai
achega
62d7a82830
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      bin/v-stop-firewall

+ 0 - 3
bin/v-stop-firewall

@@ -68,9 +68,6 @@ rm -f $tmp
 # Saving rules to the master iptables file
 if [ -d "/etc/sysconfig" ]; then
     /sbin/iptables-save > /etc/sysconfig/iptables
-    if [ -z "$(ls /etc/rc3.d/S*iptables 2>/dev/null)" ]; then
-        /sbin/chkconfig iptables off
-    fi
 else
     /sbin/iptables-save > /etc/iptables.rules
     iptablesversion=$(iptables --version | head -1 | awk '{print $2}' | cut -f -2 -d .);