Added copying of old configuration files to new directories.

This commit is contained in:
Markus Makela
2015-05-21 15:22:18 +03:00
parent e794c0953c
commit 6d9765f736

View File

@ -3,4 +3,9 @@ if [ "$1" -eq 0 ]
then then
rm -f /etc/init.d/maxscale rm -f /etc/init.d/maxscale
rm -f /etc/ld.so.conf.d/maxscale.conf rm -f /etc/ld.so.conf.d/maxscale.conf
else
if [ -f "/usr/local/mariadb-maxscale/etc/MaxScale.cnf" ]
then
cp "/usr/local/mariadb-maxscale/etc/MaxScale.cnf" "/etc/maxscale.cnf"
fi
fi fi