diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-04-10 10:34:28 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-04-10 10:34:28 +0200 |
commit | 81e6327e49c6cc58818b9719a78bbec45a7ceb84 (patch) | |
tree | e97f0722bb757cfbfb9c37499e01fbc43245642e /support-files/mysql.server.sh | |
parent | 32b3c9f35de3e52695d7d8d6dc0b34ff9c097733 (diff) | |
download | mariadb-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.sh | 5 |
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 |