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
commit3f8ded3d1e5dc5a9556b0a26da3a85ad9d0323ca (patch)
treedee24516e60558efec636a7d821edb70d5b2d4ef /sys-block/vblade/files
parentclean up old revisions, drop to ~mips to shut up repoman's warnings. (diff)
downloadhistorical-3f8ded3d1e5dc5a9556b0a26da3a85ad9d0323ca.tar.gz
historical-3f8ded3d1e5dc5a9556b0a26da3a85ad9d0323ca.tar.bz2
historical-3f8ded3d1e5dc5a9556b0a26da3a85ad9d0323ca.zip
version bump
Package-Manager: portage-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