Commit 4313b0b6 authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

create /var/run/awall directory at run-time

fixes #2247
parent f3f043ad
......@@ -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))
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment