summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-support
diff options
context:
space:
mode:
authorNam Ninh <nam.ninh@windriver.com>2015-09-17 11:17:18 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2015-09-17 11:20:28 -0400
commit18e2886555209378a315da3a92319c2f7c096ef8 (patch)
tree31a2048c6d816708a2b3ae736de45e13a996301a /meta-openstack/recipes-support
parent4c84a134a256d5190788e20bdc625ba4b7026c31 (diff)
downloadmeta-cloud-services-18e2886555209378a315da3a92319c2f7c096ef8.tar.gz
openldap/initscript: make sure data_dir exist
Signed-off-by: Nam Ninh <nam.ninh@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-support')
-rw-r--r--meta-openstack/recipes-support/openldap/files/initscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-openstack/recipes-support/openldap/files/initscript b/meta-openstack/recipes-support/openldap/files/initscript
index 51bdeff..cea108d 100644
--- a/meta-openstack/recipes-support/openldap/files/initscript
+++ b/meta-openstack/recipes-support/openldap/files/initscript
@@ -17,6 +17,7 @@ start()
17{ 17{
18 need_init=0 18 need_init=0
19 if [ ! -e $data_dir/DB_CONFIG ]; then 19 if [ ! -e $data_dir/DB_CONFIG ]; then
20 mkdir -p $data_dir
20 cp $src_data_dir/DB_CONFIG.example $data_dir/DB_CONFIG 21 cp $src_data_dir/DB_CONFIG.example $data_dir/DB_CONFIG
21 need_init=1 22 need_init=1
22 fi 23 fi