summaryrefslogtreecommitdiffstats
path: root/base/root/scripts
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2008-10-01 16:47:02 +1000
committerMartin Schwenke <martin@meltin.net>2008-10-01 16:47:02 +1000
commit0b2851d8f9efd4b471f67e6964c942e2adca24c0 (patch)
tree1407890362eded9915b2e613e85ad0a4681d763f /base/root/scripts
parent773e427d11ecff275f88ae0f704a139da0d3e9fb (diff)
setup_samba.sh waits 10 seconds, not until healthy, before 2nd ctdb restart.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'base/root/scripts')
-rwxr-xr-xbase/root/scripts/setup_samba.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/root/scripts/setup_samba.sh b/base/root/scripts/setup_samba.sh
index 0ae0165..16b2c6e 100755
--- a/base/root/scripts/setup_samba.sh
+++ b/base/root/scripts/setup_samba.sh
@@ -97,8 +97,8 @@ net ads join -U"$domain_auth"
echo "Restarting ctdb"
run_onnode all "service ctdb restart > /dev/null"
-echo "Waiting for cluster to become healthy"
-wait_until_healthy
+echo "Waiting for a few seconds..."
+sleep 10
# why is this needed? Samba doesn't come up the first time??
echo "Restarting ctdb again"