Merge branch '10.1' into bb-10.1-release

This commit is contained in:
Oleksandr Byelkin 2019-10-30 20:01:51 +01:00
commit c8ba98206f

View File

@ -16,7 +16,8 @@ fi
# Make MySQL start/shutdown automatically when the machine does it.
if [ $1 = 1 ] ; 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
/sbin/chkconfig --add mysql
fi