Start working on ldap automatic configuration

parent 0adad1b7
......@@ -58,6 +58,11 @@ run_as 'mkdir -p /var/www/skeleton'
run_as 'cp /var/www/images/logo.png /var/www/skeleton/FUSS.png'
run_as 'php /var/www/html/occ config:system:set skeletondirectory --value /var/www/skeleton'
# Check if ldap has to be configured
if [ -z "$(run_as 'php /var/www/html/occ ldap:show-config')" ]; then
run_as 'php /var/www/html/occ ldap:create-empty-config'
# Run the server
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment