]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Captive-portal: Add directory for logo upload
authorAlexander Marx <alexander.marx@ipfire.org>
Wed, 10 Feb 2016 09:09:23 +0000 (10:09 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 22 Sep 2017 17:54:45 +0000 (18:54 +0100)
Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
lfs/apache2

index d0fe0662579a0256ec98431b93a1cb635f5c822e..1e6f01655daa8d84c44c30b7e0fa390208964399 100644 (file)
@@ -122,6 +122,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 
        # Create logdir for captive-portal
        mkdir -pv /var/log/httpd/captive
 
        # Create logdir for captive-portal
        mkdir -pv /var/log/httpd/captive
+       
+       # 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
 
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
 
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)