blob: e965a632f9af35e1ec3fda32b66c79a12d3b9459 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/files/rpc.ypxfrd,v 1.1.1.1 2005/11/30 09:36:44 chriswhite Exp $
depend() {
need net portmap ypserv
}
start() {
ebegin "Starting rpc.ypxfrd"
YOPTS=""
if [ -n "${YPXFRD_OPTS}" ]; then YOPTS="-- ${YPXFRD_OPTS}"; fi
start-stop-daemon --start --quiet --exec /usr/sbin/rpc.ypxfrd ${YOPTS}
eend $?
}
stop() {
ebegin "Stopping rpc.ypxfrd"
start-stop-daemon --stop --quiet --exec /usr/sbin/rpc.ypxfrd
eend $?
}
|