Browse Source

Make iptables invocation configurable

Edvinas Valatka 8 years ago
parent
commit
0714af9b27
2 changed files with 2 additions and 3 deletions
  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() {