forked from stove/dataset
5 lines
209 B
SYSTEMD
5 lines
209 B
SYSTEMD
|
si le fichier /var/lib/ldap/cn.bdb n'existe pas !
|
||
|
rm -rf /var/lib/ldap/alock
|
||
|
rm -rf /var/lib/ldap/*.*
|
||
|
$CHROOT su openldap -s /bin/bash -c "slapadd -l /var/lib/ldap/${ldif} -f /etc/ldap/slapd.conf" > /dev/null
|