From b88e359c961b4e2b7c00627ee866533c2b07161d Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Thu, 13 May 2010 23:59:35 +0300 Subject: deleted: dev-db/mysql/files/my.cnf deleted: dev-db/mysql/files/my.cnf-4.0 deleted: dev-db/mysql/files/my.cnf-4.1 deleted: dev-db/mysql/files/my.cnf-5.1 deleted: dev-db/mysql/files/mysql-5.1-gcc45-apicheck.patch deleted: dev-db/mysql/files/mysql.init deleted: dev-db/mysql/mysql-5.1.46-r1.ebuild --- dev-db/mysql/files/mysql.init | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100755 dev-db/mysql/files/mysql.init (limited to 'dev-db/mysql/files/mysql.init') diff --git a/dev-db/mysql/files/mysql.init b/dev-db/mysql/files/mysql.init deleted file mode 100755 index 16ea7bc..0000000 --- a/dev-db/mysql/files/mysql.init +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/files/mysql.init,v 1.7 2004/07/14 21:41:15 agriffis Exp $ - -depend() { - need net - use dns -} - -checkconfig() { - if [ ! -f /etc/mysql/my.cnf ] ; then - eerror "No /etc/mysql/my.cnf file exists!" - fi - - dir=`my_print_defaults mysqld | grep -- --datadir | sed -e "s|^.*=\(.*\)|\1|"` - - if [ ! -d $dir/mysql ] ; then - eerror "You dont appear to have the mysql database installed yet." - eerror "Please run /usr/bin/mysql_install_db to have this done..." - return 1 - fi -} - -start() { - checkconfig || return 1 - ebegin "Starting mysqld" - /usr/bin/safe_mysqld >/dev/null 2>&1 & - eend $? -} - -stop () { - ebegin "Stopping mysqld" - start-stop-daemon --stop --quiet \ - --pidfile=/var/run/mysqld/mysqld.pid --retry 20 - eend $? -} -- cgit v1.2.3