wok-4.x rev 1209
mysql: bind to localhost by default (fix typo)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 09 12:49:31 2008 +0000 (2008-08-09) |
parents | 2311495e3c1a |
children | ac4e45db7a32 |
files | mysql/receipt |
line diff
1.1 --- a/mysql/receipt Sat Aug 09 12:21:10 2008 +0000 1.2 +++ b/mysql/receipt Sat Aug 09 12:49:31 2008 +0000 1.3 @@ -34,8 +34,8 @@ 1.4 cp -a $_pkg/usr/libexec $fs/usr 1.5 cp -a $_pkg/usr/share/mysql $fs/usr/share 1.6 cp -a $src/support-files/my-medium.cnf $fs/etc/my.cnf 1.7 - grep -q "bind-address" /etc/my.cnf || sed -i \ 1.8 - 's/^\[mysqld\]/[mysqld]\nbind-address\t= 127.0.0.1/' /etc/my.cnf 1.9 + grep -q "bind-address" $fs/etc/my.cnf || sed -i \ 1.10 + 's/^\[mysqld\]/[mysqld]\nbind-address\t= 127.0.0.1/' $fs/etc/my.cnf 1.11 chmod 600 $fs/etc/my.cnf 1.12 cp -a stuff/etc/init.d $fs/etc 1.13 cat $src/*.files-list | while read file; do