From 81e6327e49c6cc58818b9719a78bbec45a7ceb84 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 10 Apr 2014 10:34:28 +0200 Subject: MDEV-5068 import file from init script --- support-files/mysql.server.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'support-files/mysql.server.sh') diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh index cb55b21ca7b..a1ee5c4c653 100644 --- a/support-files/mysql.server.sh +++ b/support-files/mysql.server.sh @@ -283,6 +283,11 @@ else esac fi +# source other config files +[ -f /etc/default/mysql ] && . /etc/default/mysql +[ -f /etc/sysconfig/mysql ] && . /etc/sysconfig/mysql +[ -f /etc/conf.d/mysql ] && . /etc/conf.d/mysql + case "$mode" in 'start') # Start daemon -- cgit v1.2.1