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
commit3478ee48d3a8a8639d8e74eaa489a2e8903b87e6 (patch)
tree4ce77bd00e0d10753b511878dd47ae43e8184815
parentfix up init.d scripts and backport fixes to 1.31 (diff)
downloadhistorical-3478ee48d3a8a8639d8e74eaa489a2e8903b87e6.tar.gz
historical-3478ee48d3a8a8639d8e74eaa489a2e8903b87e6.tar.bz2
historical-3478ee48d3a8a8639d8e74eaa489a2e8903b87e6.zip
add status() to init.d scripts
-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
}