Captive-Portal: create dir for cative logfiles
authorAlexander Marx <alexander.marx@ipfire.org>
Thu, 28 Jan 2016 15:21:51 +0000 (16:21 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 22 Sep 2017 17:54:03 +0000 (18:54 +0100)
Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
lfs/apache2

index 72a9dfa..d0fe066 100644 (file)
@@ -120,5 +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 logdir for captive-portal
+       mkdir -pv /var/log/httpd/captive
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)