wok view postfixadmin/stuff/etc/mysql.d/postfixadmin @ rev 10871

gpodder: Fixed genpkg_rules. Saved 150kb off the package size.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jun 19 11:45:40 2011 +0000 (2011-06-19)
parents
children
line source
1 #!/bin/sh
3 mysqldump postfix > /dev/null 2>&1 || mysql <<EOT
4 CREATE DATABASE postfix;
5 CREATE USER 'postfix'@'localhost' IDENTIFIED BY 'postfix';
6 GRANT ALL PRIVILEGES ON `postfix` . * TO 'postfix'@'localhost';
7 EOT
9 chmod -x /etc/mysql.d/postfixadmin