]> git.pld-linux.org Git - packages/mysql.git/commitdiff
keep /etc/mysql/$config anyway
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 27 Jul 2004 20:44:42 +0000 (20:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mysql.init -> 1.64

mysql.init

index a1f18d86f3efda7c562e491c0b32d17832790a36..bae74ef28aee1da5a8fe28f02bee5da4df4de3d0 100644 (file)
@@ -105,6 +105,8 @@ mysqlgetconfig() {
                config=`grep -v \"^#\" /etc/mysql/clusters.conf | grep "${clusterdir}$" | cut -s -f 1 -d '='`
                if [ -f "$config" ]; then
                        config_file="$config"
+               elif [ -f /etc/mysql/$config ]; then
+                       config_file=/etc/mysql/$config
                else
                        config_file="$clusterdir/mysqld.conf"
                fi
This page took 0.035024 seconds and 4 git commands to generate.