diff options
author | Francesco Riosa <vivo@gentoo.org> | 2005-11-24 14:59:24 +0000 |
---|---|---|
committer | Francesco Riosa <vivo@gentoo.org> | 2005-11-24 14:59:24 +0000 |
commit | 82c6ebab97dd3f87a60692d74b54d2e0a3932fdb (patch) | |
tree | 2df0bef3f57cdb551843cb6ee726137d52159d66 /dev-db | |
parent | Stable on sparc wrt #112842 (diff) | |
download | gentoo-2-82c6ebab97dd3f87a60692d74b54d2e0a3932fdb.tar.gz gentoo-2-82c6ebab97dd3f87a60692d74b54d2e0a3932fdb.tar.bz2 gentoo-2-82c6ebab97dd3f87a60692d74b54d2e0a3932fdb.zip |
fix to rc script
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/mysql/Manifest | 2 | ||||
-rw-r--r-- | dev-db/mysql/files/mysql-slot.rc6 | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dev-db/mysql/Manifest b/dev-db/mysql/Manifest index a85df3f64624..3ccc0d18a018 100644 --- a/dev-db/mysql/Manifest +++ b/dev-db/mysql/Manifest @@ -17,7 +17,7 @@ MD5 625b4007f035e3da9a4f1eeee1db6b9c files/mysql-4.0.15.rc6 1187 MD5 d0fbdf4e41f2b52210eef6cb3a53e128 files/mysql-4.0.24-r1.rc6 1662 MD5 356c1b4211a0b3d229bcb09c7c8742a7 files/mysql-4.0.24-r2.rc6 2151 MD5 c8a9f17eb53cb46bd7ec6b3105cd8d23 files/mysql-slot.conf.d 3218 -MD5 3f0cf4e6c3cb45ef2e8019cdd2423c28 files/mysql-slot.rc6 8697 +MD5 b114dc9d459851d42a69d1e08fcb2cd0 files/mysql-slot.rc6 8691 MD5 73be6460f548f6f73c70246a4cfd13a0 files/mysql.init 886 MD5 a2a9fdc7d010a7c04c96cb3b7c05f06b metadata.xml 158 MD5 eb11a08abb447b7a69b192a6f9be3dbf mysql-3.23.58-r1.ebuild 7219 diff --git a/dev-db/mysql/files/mysql-slot.rc6 b/dev-db/mysql/files/mysql-slot.rc6 index 7997b236ca0e..efd6ff978cf2 100644 --- a/dev-db/mysql/files/mysql-slot.rc6 +++ b/dev-db/mysql/files/mysql-slot.rc6 @@ -1,7 +1,7 @@ #!/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-slot.rc6,v 1.5 2005/11/24 14:03:52 vivo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/files/mysql-slot.rc6,v 1.6 2005/11/24 14:59:24 vivo Exp $ # external binaryes used: which, sed, tac @@ -280,7 +280,7 @@ stop () { pidfile=${shutdown_elem#*=} ebegin "Stopping mysqld (${runwhat})" # following code grabbed from the squid rc script - PID=$(cat /var/run/squid.pid 2>/dev/null) + PID=$(cat "${pidfile}" 2>/dev/null) start-stop-daemon --stop --quiet --pidfile="${pidfile}" sleep 2 if test -n "$PID" && kill -0 $PID 2>/dev/null |