/[gentoo-x86]/x11-base/xorg-server/files/xprint.init
Gentoo

Contents of /x11-base/xorg-server/files/xprint.init

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Sep 28 07:41:03 2009 UTC (4 years, 6 months ago) by remi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
x11-base/xorg-server: drop old ebuilds, prune ${FILESDIR}
(Portage version: 2.2_rc42/cvs/Linux i686)

1 #!/sbin/runscript
2 # Copyright 1999-2004 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/files/xprint.init,v 1.1 2006/03/24 18:45:00 spyderous Exp $
5
6 opts="${opts} get_xpserverlist lsprinters"
7
8 depend() {
9 use cupsd
10 }
11
12 start() {
13 ebegin "Starting xprint"
14 /usr/lib/misc/xprint start > /dev/null
15 eend $?
16 }
17
18 get_xpserverlist() {
19 /usr/lib/misc/xprint get_xpserverlist
20 }
21
22 lsprinters() {
23 /usr/lib/misc/xprint lsprinters
24 }
25
26 stop() {
27 ebegin "Stopping xprint"
28 /usr/lib/misc/xprint stop > /dev/null
29 eend $?
30 }

  ViewVC Help
Powered by ViewVC 1.1.20