#!/bin/bash set -eu mkdir -p /app/data/config if ! [ -f /app/data/config/config.xml ]; then cp /app/code/config.xml.default /app/data/config/config.xml fi cat >/run/ldap.conf <.*,tcp://:22000,' -i /app/data/config/config.xml sed -e 's,.*,admin,' -i /app/data/config/config.xml sed -e 's,.*,$2a$10$onEZNvFhasmJMq7ugGDIJekK0mZ9YByNK0b1p8kJPtXL.ELVrsolm,' -i /app/data/config/config.xml sed -e 's,,,' -i /app/data/config/config.xml export STNODEFAULTFOLDER=1 STNOUPGRADE=1 exec busybox init