]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
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 72a9dfad1a12a3d9ea13fbc5f60a039dfeaa6e6a..d0fe0662579a0256ec98431b93a1cb635f5c822e 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)