summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-12-09 21:38:11 +0000
committerMike Frysinger <vapier@gentoo.org>2003-12-09 21:38:11 +0000
commitcc2ae4df624981da1b530f53889d78f3e7aa412c (patch)
treeb64a0891d83014549e930f7e4a58a664105d00a0 /eclass/games-q3mod.eclass
parentfix up init.d scripts and backport fixes to 1.31 (diff)
downloadgentoo-2-cc2ae4df624981da1b530f53889d78f3e7aa412c.tar.gz
gentoo-2-cc2ae4df624981da1b530f53889d78f3e7aa412c.tar.bz2
gentoo-2-cc2ae4df624981da1b530f53889d78f3e7aa412c.zip
add status() to init.d scripts
Diffstat (limited to 'eclass/games-q3mod.eclass')
-rw-r--r--eclass/games-q3mod.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/games-q3mod.eclass b/eclass/games-q3mod.eclass
index cd107893f256..55faca3a7631 100644
--- a/eclass/games-q3mod.eclass
+++ b/eclass/games-q3mod.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games-q3mod.eclass,v 1.14 2003/10/05 02:24:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games-q3mod.eclass,v 1.15 2003/12/09 21:38:11 vapier Exp $
inherit games
@@ -126,6 +126,10 @@ stop() {
fi
fi
}
+
+status() {
+ screen -list | grep q3${MOD_BINS}-ded
+}
EOF
}