aboutsummaryrefslogtreecommitdiffstats
path: root/awall/iptables.lua
diff options
context:
space:
mode:
Diffstat (limited to 'awall/iptables.lua')
-rw-r--r--awall/iptables.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/awall/iptables.lua b/awall/iptables.lua
index dd65d4b..f4190f0 100644
--- a/awall/iptables.lua
+++ b/awall/iptables.lua
@@ -7,6 +7,7 @@ See LICENSE file for license details
module(..., package.seeall)
+require 'lfs'
require 'lpc'
require 'awall.object'
@@ -140,6 +141,7 @@ end
function backup()
+ lfs.mkdir(backupdir)
Current.new():dump(backupdir)
end