summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2008-08-03 23:53:20 +0000
committerCaleb Tennis <caleb@gentoo.org>2008-08-03 23:53:20 +0000
commit3ca3b9bd1ef77f191d93cc7ec200a260b6f1daed (patch)
tree0c88f8deae2d9e498e9a9cb8f5babc7aa9446e62 /sys-block/vblade/files
parentclean up old revisions, drop to ~mips to shut up repoman's warnings. (diff)
downloadgentoo-2-3ca3b9bd1ef77f191d93cc7ec200a260b6f1daed.tar.gz
gentoo-2-3ca3b9bd1ef77f191d93cc7ec200a260b6f1daed.tar.bz2
gentoo-2-3ca3b9bd1ef77f191d93cc7ec200a260b6f1daed.zip
version bump
(Portage version: 2.1.5.2)
Diffstat (limited to 'sys-block/vblade/files')
-rw-r--r--sys-block/vblade/files/init.d-vblade.vblade05
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-block/vblade/files/init.d-vblade.vblade0 b/sys-block/vblade/files/init.d-vblade.vblade0
index 2745b3b660ff..198d0939209b 100644
--- a/sys-block/vblade/files/init.d-vblade.vblade0
+++ b/sys-block/vblade/files/init.d-vblade.vblade0
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-block/vblade/files/init.d-vblade.vblade0,v 1.3 2006/07/22 19:51:57 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/vblade/files/init.d-vblade.vblade0,v 1.4 2008/08/03 23:53:20 caleb Exp $
opts="${opts} checkconfig"
@@ -103,7 +103,8 @@ start() {
stop() {
ebegin "Stopping ${srvname}"
#start-stop-daemon --stop --quiet --pidfile ${pidfile}
- ps -Ao pid,args |egrep "^[[:space:]]*[[:digit:]]+ /usr/sbin/vblade ${@}" | awk '{print $1}' | xargs kill
+ getconfig
+ ps -Ao pid,args | egrep "^[[:space:]]*[[:digit:]]+ /usr/sbin/vbladed? ${shelf} ${slot}" | awk '{print $1}' | xargs kill
eend $?
#start-stop-daemon --stop --quiet --exec /usr/sbin/vblade