Merge branch 'master' into dist/eole/2.6.2/master
This commit is contained in:
commit
61383bb17a
|
@ -20,6 +20,7 @@ logfile="${logdir}/maria-init.log"
|
||||||
|
|
||||||
if [[ ${ROLE} == "Leader" ]]
|
if [[ ${ROLE} == "Leader" ]]
|
||||||
then
|
then
|
||||||
|
service mysql start
|
||||||
${passwd} ${PASSWORD}
|
${passwd} ${PASSWORD}
|
||||||
|
|
||||||
# Run secure installation script
|
# Run secure installation script
|
||||||
|
@ -32,8 +33,15 @@ y
|
||||||
y
|
y
|
||||||
y
|
y
|
||||||
__EOF__
|
__EOF__
|
||||||
|
if [[ ${?} -eq 0 ]]
|
||||||
|
then
|
||||||
|
service mysql stop
|
||||||
touch ${INITDONE}
|
touch ${INITDONE}
|
||||||
exit ${?}
|
exit ${?}
|
||||||
|
else
|
||||||
|
service mysql stop
|
||||||
|
exit ${?}
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
Loading…
Reference in New Issue