Commit 2b93987a authored by nimrod's avatar nimrod
Browse files

Remove superfluous flags.

The -v flags is already set in the alias.
parent 3b3fec12
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3,9 +3,9 @@ set -eux

alias slapcat='slapcat -vF /var/lib/ldap/config'

slapcat -n0 -v -l /var/backups/ldap/config.ldif
slapcat -n0 -l /var/backups/ldap/config.ldif

for dn in $(ldapsearch -Y EXTERNAL -LLL -s base -b '' o namingContexts | sed -n '/namingContexts/ s/namingContexts: //gp')
do
    slapcat -b "$dn" -v -l "/var/backups/ldap/$dn.ldif"
    slapcat -b "$dn" -l "/var/backups/ldap/$dn.ldif"
done