mirror of
https://github.com/adferrand/docker-backuppc.git
synced 2023-11-05 04:40:26 +01:00
Update entrypoint.sh (#58)
Fix for #47 https://github.com/adferrand/docker-backuppc/issues/47
This commit is contained in:
parent
8998b054b8
commit
39fadf2ab0
@ -94,6 +94,7 @@ if [ -f /firstrun ]; then
|
||||
|
||||
sed -i 's#LDAP_HOSTNAME#'"$LDAP_HOSTNAME"'#g' /etc/lighttpd/auth-ldap.conf
|
||||
sed -i 's#LDAP_BASE_DN#'"$LDAP_BASE_DN"'#g' /etc/lighttpd/auth-ldap.conf
|
||||
LDAP_FILTER=$(sed 's#&#\\&#g' <<< "$LDAP_FILTER")
|
||||
sed -i 's#LDAP_FILTER#'"$LDAP_FILTER"'#g' /etc/lighttpd/auth-ldap.conf
|
||||
sed -i 's#LDAP_BIND_DN#'"$LDAP_BIND_DN"'#g' /etc/lighttpd/auth-ldap.conf
|
||||
sed -i 's#LDAP_BIND_PW#'"$LDAP_BIND_PW"'#g' /etc/lighttpd/auth-ldap.conf
|
||||
|
Loading…
Reference in New Issue
Block a user