summaryrefslogtreecommitdiff
path: root/support-files/mysql.server.sh
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-04-10 10:34:28 +0200
committerSergei Golubchik <sergii@pisem.net>2014-04-10 10:34:28 +0200
commit81e6327e49c6cc58818b9719a78bbec45a7ceb84 (patch)
treee97f0722bb757cfbfb9c37499e01fbc43245642e /support-files/mysql.server.sh
parent32b3c9f35de3e52695d7d8d6dc0b34ff9c097733 (diff)
downloadmariadb-git-81e6327e49c6cc58818b9719a78bbec45a7ceb84.tar.gz
MDEV-5068 import file from init script
Diffstat (limited to 'support-files/mysql.server.sh')
-rw-r--r--support-files/mysql.server.sh5
1 files changed, 5 insertions, 0 deletions
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