]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/commitdiff
apache2: Create captive portal logging directory
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 2 May 2017 09:37:41 +0000 (10:37 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 22 Sep 2017 18:00:04 +0000 (19:00 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/apache2

index c66f3c3fa6c170e4070d5a42fc4b6ce65e540b0f..dbefff922a02c932935cefe3402328537be6771a 100644 (file)
@@ -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)