blob: e5fed1b60c8e70c366ddd11fed201e00feb366bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 $?
}
|