aboutsummaryrefslogtreecommitdiffstats
path: root/main/mariadb/mariadb-common.post-upgrade
blob: 280939835594f4b4059d595b965e1eeb380d11a5 (plain)
1
2
3
4
5
6
7
#!/bin/sh

# do not disable networking if we have a pre-existing, old config
if [ -e /etc/mysql/my.cnf ] && [ -e /etc/my.cnf.d/mariadb-server.cnf ]; then
	sed -i -e 's/^skip-networking/#skip-networking/' /etc/my.cnf.d/mariadb-server.cnf
fi