blob: badd4829244452e8d65e9bba83e8644d094f2513 (
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.yppasswdd-r1,v 1.3 2004/07/15 00:19:17 agriffis Exp $
depend() {
need net portmap ypserv
}
start() {
ebegin "Starting rpc.yppasswdd"
YOPTS=""
if [ -n "${YPPASSWDD_OPTS}" ]; then YOPTS="-- $YPPASSWDD_OPTS"; fi
start-stop-daemon --start --quiet --exec /usr/sbin/rpc.yppasswdd ${YOPTS}
eend $?
}
stop() {
ebegin "Stopping rpc.yppasswdd"
start-stop-daemon --stop --quiet --exec /usr/sbin/rpc.yppasswdd
eend $?
}
|