summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2006-01-27 20:29:01 +0000
committerPatrick McLean <chutzpah@gentoo.org>2006-01-27 20:29:01 +0000
commit5f4ec33f1acefe1ae9ccc9ca5e6f9b5f7d414432 (patch)
treeae9fff879815ab987104c973a724314811bad961 /app-admin
parentRemove app-admin/qpage from mask and add move to profiles/updates/1Q-2006 (diff)
downloadgentoo-2-5f4ec33f1acefe1ae9ccc9ca5e6f9b5f7d414432.tar.gz
gentoo-2-5f4ec33f1acefe1ae9ccc9ca5e6f9b5f7d414432.tar.bz2
gentoo-2-5f4ec33f1acefe1ae9ccc9ca5e6f9b5f7d414432.zip
moving from sys-apps
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/qpage/files/digest-qpage-3.31
-rw-r--r--app-admin/qpage/files/qpage29
2 files changed, 30 insertions, 0 deletions
diff --git a/app-admin/qpage/files/digest-qpage-3.3 b/app-admin/qpage/files/digest-qpage-3.3
new file mode 100644
index 000000000000..f2f8a8556c58
--- /dev/null
+++ b/app-admin/qpage/files/digest-qpage-3.3
@@ -0,0 +1 @@
+MD5 11aa64fa71d3a356bbcc0b85754680bc qpage-3.3.tar.Z 225689
diff --git a/app-admin/qpage/files/qpage b/app-admin/qpage/files/qpage
new file mode 100644
index 000000000000..badec64223bd
--- /dev/null
+++ b/app-admin/qpage/files/qpage
@@ -0,0 +1,29 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/qpage/files/qpage,v 1.1 2006/01/27 20:29:01 chutzpah Exp $
+
+depend() {
+ need net
+}
+
+checkconfig() {
+ if [ ! -e /etc/qpage/qpage.cf ] ; then
+ eerror "You need an /etc/qpage/qpage.cf file first."
+ eerror "There is a sample file in /etc/qpage/."
+ return 1
+ fi
+}
+
+start() {
+ checkconfig || return 1
+ ebegin "Starting qpage"
+ start-stop-daemon --start --quiet --exec /usr/bin/qpage -- -q 10
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping qpage"
+ start-stop-daemon --stop --quiet --exec /usr/bin/qpage
+ eend $?
+}