summaryrefslogtreecommitdiffstats
path: root/ldap_wizard
diff options
context:
space:
mode:
authorMichael Scherer <misc@mandriva.com>2004-09-08 09:16:24 +0000
committerMichael Scherer <misc@mandriva.com>2004-09-08 09:16:24 +0000
commit0ff2f580eb2327acbea9dcb447c0f503e5db2c41 (patch)
treef754b0023aa8c2e1827c0dbf26f326649557cbca /ldap_wizard
parentae6d0c95285f238dd5d3b7d439f90ceae4b63acf (diff)
downloaddrakwizard-0ff2f580eb2327acbea9dcb447c0f503e5db2c41.tar
drakwizard-0ff2f580eb2327acbea9dcb447c0f503e5db2c41.tar.gz
drakwizard-0ff2f580eb2327acbea9dcb447c0f503e5db2c41.tar.bz2
drakwizard-0ff2f580eb2327acbea9dcb447c0f503e5db2c41.tar.xz
drakwizard-0ff2f580eb2327acbea9dcb447c0f503e5db2c41.zip
- add a sleep, to be sure that ldap is up ( thanks Buchan Milne )
Diffstat (limited to 'ldap_wizard')
-rw-r--r--ldap_wizard/Ldap.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/ldap_wizard/Ldap.pm b/ldap_wizard/Ldap.pm
index 2db6b7d1..a9b6dc9d 100644
--- a/ldap_wizard/Ldap.pm
+++ b/ldap_wizard/Ldap.pm
@@ -338,7 +338,9 @@ EOF
# reset premisions
system("chown -R root.ldap /etc/openldap");
- system("service ldap restart");
+ # better use status, maybe ?
+ services::restart('ldap');
+ sleep(4);
init_ldap();
}