X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=handlers%2Fldap.helper;h=697c720209595a84c62de09a7bd8fc32a7cd938e;hp=cfc99336493cae034caadeaac2be712833e956c5;hb=be75e4e6c536882c14db9a41c61585e7a9c045f6;hpb=cfc47e5571e61f4323b9f64f9cbb64dfbc4bf1b4 diff --git a/handlers/ldap.helper b/handlers/ldap.helper index cfc9933..697c720 100644 --- a/handlers/ldap.helper +++ b/handlers/ldap.helper @@ -1,4 +1,5 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- + HELPERS="$HELPERS ldap:ldap_database_backup" ldap_create_file() { @@ -53,7 +54,7 @@ done ldap_wizard() { bdb=no ldbm=no - for backend in `grep -e "^backend" /etc/ldap/slapd.conf | awk '{print $2}'`; do + for backend in `grep -e "^backend" /etc/ldap/slapd.conf | @AWK@ '{print $2}'`; do if [ "$backend" == "bdb" -a "$bdb" == "no" ]; then bdb=yes elif [ "$backend" == "ldbm" -a "$ldbm" == "no" ]; then