diff options
author | Micah Anderson <micah@riseup.net> | 2007-11-24 22:44:39 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2007-11-24 22:44:39 +0000 |
commit | c2f0b78ad6725fb1194ab1e58e4625c0c1989b57 (patch) | |
tree | faeb0bac2a049e76c02d5bf75b4018677bab2a74 /handlers/ldap.helper.in | |
parent | 929a6bda9ab797ef04d46c559ed068e03dacf330 (diff) | |
download | backupninja-c2f0b78ad6725fb1194ab1e58e4625c0c1989b57.tar.gz backupninja-c2f0b78ad6725fb1194ab1e58e4625c0c1989b57.tar.bz2 |
fixed ldap helper setting compress option wrong, standardize on options
Diffstat (limited to 'handlers/ldap.helper.in')
-rw-r--r-- | handlers/ldap.helper.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/handlers/ldap.helper.in b/handlers/ldap.helper.in index 697c720..5ccbe7e 100644 --- a/handlers/ldap.helper.in +++ b/handlers/ldap.helper.in @@ -5,11 +5,11 @@ HELPERS="$HELPERS ldap:ldap_database_backup" ldap_create_file() { while true; do checkBox "ldap action wizard" "check options (slapcat OR ldapsearch)" \ - "slapcat" "export ldif using slapcat" on \ - "ldapsearch" "export ldif using ldapsearch" off \ - "compress" "compress the ldif output files" on + "slapcat" "export ldif using slapcat" yes \ + "ldapsearch" "export ldif using ldapsearch" no \ + "compress" "compress the ldif output files" yes status=$? - compress="compress = off" + compress="compress = no" method="method = <unset>" restart="restart = no" binddn="" @@ -18,7 +18,7 @@ while true; do result="$REPLY" for opt in $result; do case $opt in - '"compress"') compress="compress = on";; + '"compress"') compress="compress = yes";; '"slapcat"') method="method = slapcat" [ "$_RESTART" == "yes" ] && restart="restart = yes" |