public inbox for network@lists.ipfire.org
 help / color / mirror / Atom feed
From: Stefan Schantl <stefan.schantl@ipfire.org>
To: network@lists.ipfire.org
Subject: [network] [PATCH 1/3] Add missing logdir to Makefile.
Date: Wed, 25 Jan 2017 14:48:19 +0100	[thread overview]
Message-ID: <20170125134821.15442-1-stefan.schantl@ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 930 bytes --]

The logdir has not been created during the "make install" process
and therefore not been shipped yet.

This directory is used to store various databases which contains
data about the zones and routes. They can easily accessed by
the upcomming WUI to display or compute those information.

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 3c94486..cdb9d39 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -48,6 +48,8 @@ hooks_zonesdir   = $(hooksdir)/zones
 
 triggersdir      = $(networkdir)/triggers
 
+logdir           = $(localestatedir)/log/network
+
 CLEANFILES =
 DISTCLEANFILES =
 EXTRA_DIST =
@@ -230,7 +232,8 @@ EXTRA_DIST += \
 	src/ppp/ip-updown.in
 
 INSTALL_DIRS += \
-	$(pppdir)
+	$(pppdir) \
+	$(logdir)
 
 ppp-install-hook:
 	ln -svf ip-updown $(DESTDIR)$(pppdir)/ip-pre-up
-- 
2.9.3


             reply	other threads:[~2017-01-25 13:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-25 13:48 Stefan Schantl [this message]
2017-01-25 13:48 ` [network] [PATCH 2/3] ipv4-static: Remove routing information from databases when shutting down a zone Stefan Schantl
2017-01-25 13:48 ` [network] [PATCH 3/3] Only call radvd_update if a zone contains an IPv6 Stefan Schantl
2017-01-25 14:37   ` Stefan Schantl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170125134821.15442-1-stefan.schantl@ipfire.org \
    --to=stefan.schantl@ipfire.org \
    --cc=network@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox