summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2006-03-24 18:45:00 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2006-03-24 18:45:00 +0000
commit2c2d1fcb95c83c8efdf4137f7a1c346be88645a3 (patch)
treed8fe2cd3f6f1fc12c2727f9a4d3422ae81a92ecb /x11-base/xorg-server/files
parent(#127445) Depend on xbitmaps, caught by Sumit Khanna. (diff)
downloadgentoo-2-2c2d1fcb95c83c8efdf4137f7a1c346be88645a3.tar.gz
gentoo-2-2c2d1fcb95c83c8efdf4137f7a1c346be88645a3.tar.bz2
gentoo-2-2c2d1fcb95c83c8efdf4137f7a1c346be88645a3.zip
(#127425) Install xprint init scripts and directories, patch by Ed Catmur.
(Portage version: 2.1_pre6-r5)
Diffstat (limited to 'x11-base/xorg-server/files')
-rw-r--r--x11-base/xorg-server/files/xprint.init30
1 files changed, 30 insertions, 0 deletions
diff --git a/x11-base/xorg-server/files/xprint.init b/x11-base/xorg-server/files/xprint.init
new file mode 100644
index 000000000000..e5fed1b60c8e
--- /dev/null
+++ b/x11-base/xorg-server/files/xprint.init
@@ -0,0 +1,30 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/files/xprint.init,v 1.1 2006/03/24 18:45:00 spyderous Exp $
+
+opts="${opts} get_xpserverlist lsprinters"
+
+depend() {
+ use cupsd
+}
+
+start() {
+ ebegin "Starting xprint"
+ /usr/lib/misc/xprint start > /dev/null
+ eend $?
+}
+
+get_xpserverlist() {
+ /usr/lib/misc/xprint get_xpserverlist
+}
+
+lsprinters() {
+ /usr/lib/misc/xprint lsprinters
+}
+
+stop() {
+ ebegin "Stopping xprint"
+ /usr/lib/misc/xprint stop > /dev/null
+ eend $?
+}