summaryrefslogtreecommitdiffstats
path: root/ldap/admin/src/scripts/template-db2bak
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2007-02-21 21:22:08 +0000
committerNoriko Hosoi <nhosoi@redhat.com>2007-02-21 21:22:08 +0000
commit4e73e76b8d964ff950bd3c1d105714a18bfd8383 (patch)
tree0905287520172c5af80a5c6805d7cfbf37ba9a5e /ldap/admin/src/scripts/template-db2bak
parentfa05437fb16b35caa6337c0d216466a374436a47 (diff)
downloadds-4e73e76b8d964ff950bd3c1d105714a18bfd8383.tar.gz
ds-4e73e76b8d964ff950bd3c1d105714a18bfd8383.tar.xz
ds-4e73e76b8d964ff950bd3c1d105714a18bfd8383.zip
Resolves: 229576
Summary: clean up template-scriptname which is derived from template-scriptname.in
Diffstat (limited to 'ldap/admin/src/scripts/template-db2bak')
-rw-r--r--ldap/admin/src/scripts/template-db2bak17
1 files changed, 0 insertions, 17 deletions
diff --git a/ldap/admin/src/scripts/template-db2bak b/ldap/admin/src/scripts/template-db2bak
deleted file mode 100644
index bb34ae23..00000000
--- a/ldap/admin/src/scripts/template-db2bak
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-prefix="{{DS-ROOT}}"
-LD_LIBRARY_PATH=$prefix/{{SERVER-DIR}}:$prefix/usr/lib/dirsec:$prefix/usr/lib:/usr/lib/dirsec
-export LD_LIBRARY_PATH
-SHLIB_PATH=$prefix/{{SERVER-DIR}}:$prefix/usr/lib/dirsec:$prefix/usr/lib:/usr/lib/dirsec
-export SHLIB_PATH
-
-cd {{SERVERBIN-DIR}}
-if [ "$#" -eq 1 ]
-then
- bak_dir=$1
-else
- bak_dir={{BAK-DIR}}/`date +%Y_%m_%d_%H_%M_%S`
-fi
-
-./ns-slapd db2archive -D {{CONFIG-DIR}} -a $bak_dir