diff options
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysql5-server/files/mysqld.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/mysql5-server/files/mysqld.sh b/databases/mysql5-server/files/mysqld.sh index d7036a207e0..f222a72874a 100644 --- a/databases/mysql5-server/files/mysqld.sh +++ b/databases/mysql5-server/files/mysqld.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: mysqld.sh,v 1.1.1.1 2005/10/31 09:22:26 xtraeme Exp $ +# $NetBSD: mysqld.sh,v 1.2 2007/06/13 13:24:07 xtraeme Exp $ # # PROVIDE: mysqld # REQUIRE: DAEMON LOGIN mountall @@ -36,7 +36,7 @@ start_cmd="mysqld_start" mysqld_precmd() { - if [ ! -d ${mysqld_datadir} ]; then + if [ ! -d ${mysqld_datadir}/mysql ]; then mysqld_initdb fi } |