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 d0fe066..1e6f016 100644 (file)
@@ -122,6 +122,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)