aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--awall/iptables.lua2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3248841..ba36d62 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,6 @@ $(eval $(call mkdir,$(confdir)/optional))
$(eval $(call mkdir,$(confdir)/private))
$(eval $(call mkdir,$(poldir)/optional))
$(eval $(call mkdir,$(poldir)/private))
-$(eval $(call mkdir,var/run/awall))
install: $(foreach f,$(files),$(ROOT_DIR)/$(f))
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