]> git.ipfire.org Git - people/dweismueller/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>
Wed, 14 Dec 2016 13:02:25 +0000 (14:02 +0100)
Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
lfs/apache2

index 2424d63664626542e5f827951fb11ddd2a73f466..525d572e4a1d74d17622627c0e3dc8b6c30719f5 100644 (file)
@@ -118,6 +118,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 
        # 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)