10 lines
250 B
Bash
10 lines
250 B
Bash
|
#!/bin/ash
|
||
|
sed -i \
|
||
|
-e "s/@@LDAP_SERVER@@/$LDAP_SERVER/" \
|
||
|
-e "s/@@LDAP_BASE@@/$LDAP_BASE/" \
|
||
|
-e "s/@@LDAP_USER@@/$LDAP_USER/" \
|
||
|
-e "s/@@LDAP_PASSWORD@@/$LDAP_PASSWORD/" \
|
||
|
/usr/local/apache2/conf/httpd.conf
|
||
|
|
||
|
exec httpd-foreground
|