From 22ce4c3ad6d93879955060e5582384f334ef15f6 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 2 May 2017 10:37:41 +0100 Subject: [PATCH] apache2: Create captive portal logging directory Signed-off-by: Michael Tremer --- lfs/apache2 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lfs/apache2 b/lfs/apache2 index c66f3c3fa6..dbefff922a 100644 --- a/lfs/apache2 +++ b/lfs/apache2 @@ -120,10 +120,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cp -rf $(DIR_CONF)/httpd/* /etc/httpd/conf ln -sf $(CONFIG_ROOT)/main/hostname.conf /etc/httpd/conf/ - # Create logodir for captive portal - mkdir -pv /srv/web/ipfire/html/captive/logo - chown nobody.nobody /srv/web/ipfire/html/captive/logo - chmod 775 /srv/web/ipfire/html/captive/logo + # Create captive logging directory + -mkdir -pv /var/log/httpd/captive @rm -rf $(DIR_APP) @$(POSTBUILD) -- 2.39.5