10 lines
211 B
Plaintext
10 lines
211 B
Plaintext
# *-*-shell-*-*
|
|
#
|
|
case ${ACTION} in
|
|
post)
|
|
install -dm0700 var/lib/mysql
|
|
usr/bin/mysql_install_db --user=mysql --keep-my-cnf --basedir=/usr --datadir=/var/lib/mysql
|
|
chown -R mysql:mysql var/lib/mysql
|
|
;;
|
|
esac
|