diff options
Diffstat (limited to 'awall-cli')
-rwxr-xr-x | awall-cli | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -19,12 +19,6 @@ end require 'awall' awall.loadmodules(testmode and '.') -if testmode then - awall.confdirs = {'json', 'input'} - awall.iptdir = 'output' - awall.ipsfile = 'output/ipset' -end - -config = awall.Config.new() +config = awall.Config.new(testmode and {'json', 'input'}) config:test() -config:dump() +config:dump(testmode and 'output', testmode and 'output/ipset') |