Gitiles
Code Review
Sign In
gerrit.mcp.mirantis.com
/
salt-formulas
/
galera
/
5d5e734cd39a3919735e6b7a196ab6d88219fb9b
/
.
/
galera
/
files
/
init_bootstrap.sh
blob: 4c1dfebb08dfcee9e1803efd593de1606248b632 [
file
] [
log
] [
blame
]
#!/bin/bash
service
{{
service
.
service
}}
start
counter
=
60
while
[
$counter
-
gt
0
]
do
mysql
-
u root
-
e
"quit"
if
[[
$
?
-
eq
0
]];
then
exit
0
fi
counter
=
$
((
$counter
-
1
))
sleep
2
done
exit
1