Gitiles
Code Review
Sign In
gerrit.mcp.mirantis.com
/
salt-formulas
/
galera
/
6ab7ddd49569658206c92150ddb087e211624ec5
/
.
/
galera
/
files
/
slave_bootstrap.sh
blob: f13d4f08381b758578009c8eead9b45039d7a3af [
file
] [
log
] [
blame
]
#!/bin/bash
service mysql start
counter
=
40
while
[
$counter
-
gt
0
]
do
service mysql status
if
[[
$
?
-
eq
0
]];
then
exit
0
fi
counter
=
$
((
$counter
-
1
))
sleep
2
done
exit
1