summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mysql/mysqld
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-10-10 03:24:51 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-10-10 03:24:51 (GMT)
commitbd5bf3ecdb7757918a4d12add60ae295c837a2b7 (patch)
tree853f47931df0dc353cf3cd686d8ae3124856f546 /abs/core-testing/mysql/mysqld
parent7b2e6f1ddc789ae25da62e50e4d3780773b8afbd (diff)
downloadlinhes_pkgbuild-bd5bf3ecdb7757918a4d12add60ae295c837a2b7.zip
linhes_pkgbuild-bd5bf3ecdb7757918a4d12add60ae295c837a2b7.tar.gz
linhes_pkgbuild-bd5bf3ecdb7757918a4d12add60ae295c837a2b7.tar.bz2
Remove the annoying onscreen message when the first db is installed.
Redirect to /dev/null
Diffstat (limited to 'abs/core-testing/mysql/mysqld')
-rwxr-xr-xabs/core-testing/mysql/mysqld4
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core-testing/mysql/mysqld b/abs/core-testing/mysql/mysqld
index 0fcecf7..e7f90d2 100755
--- a/abs/core-testing/mysql/mysqld
+++ b/abs/core-testing/mysql/mysqld
@@ -23,7 +23,7 @@ fi
if [ ! -d $MYSQLD_ROOT ]; then
mkdir $MYSQLD_ROOT
- /usr/bin/mysql_install_db --datadir=$MYSQLD_ROOT --user=mysql
+ /usr/bin/mysql_install_db --datadir=$MYSQLD_ROOT --user=mysql 2>/dev/null > /dev/null
chown -R mysql.mysql $MYSQLD_ROOT
fi
@@ -36,7 +36,7 @@ case "$1" in
start)
stat_busy "Starting MySQL"
if [ -z "$PID" ]; then
- /usr/bin/mysqld_safe --datadir=$MYSQLD_ROOT &>/dev/null &
+ /usr/bin/mysqld_safe --datadir=$MYSQLD_ROOT 2>/dev/null >/dev/null &
if [ $? -gt 0 ]; then
stat_fail
exit 1