Procházet zdrojové kódy

Make iptables invocation configurable

Edvinas Valatka před 8 roky
rodič
revize
0714af9b27
2 změnil soubory, kde provedl 2 přidání a 3 odebrání
  1. 2 2
      config
  2. 0 1
      e-router

+ 2 - 2
config

@@ -59,5 +59,5 @@ setup_cast
 final
 )
 
-## Default iptables invocation command ##
-#IPTABLESCMD="iptables -w"
+## iptables invocation command ##
+iptables="iptables -w"

+ 0 - 1
e-router

@@ -2,7 +2,6 @@
 ((EUID == 0 )) || { echo "Need root"; exit 1; }
 set -euo pipefail
 confd=/etc/e-router
-iptables="${IPTABLESCMD:-iptables -w}"
 source $confd/config
 
 base() {