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