Merge branch '10.1' into bb-10.1-release
This commit is contained in:
commit
c8ba98206f
@ -16,7 +16,8 @@ fi
|
|||||||
# Make MySQL start/shutdown automatically when the machine does it.
|
# Make MySQL start/shutdown automatically when the machine does it.
|
||||||
if [ $1 = 1 ] ; then
|
if [ $1 = 1 ] ; then
|
||||||
if [ -x /usr/bin/systemctl ] ; then
|
if [ -x /usr/bin/systemctl ] ; then
|
||||||
/usr/bin/systemctl daemon-reload >/dev/null 2>&1
|
/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||||
|
/usr/bin/systemctl preset mariadb.service >/dev/null 2>&1 || :
|
||||||
elif [ -x /sbin/chkconfig ] ; then
|
elif [ -x /sbin/chkconfig ] ; then
|
||||||
/sbin/chkconfig --add mysql
|
/sbin/chkconfig --add mysql
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user