From 7385c6143c1b587bca68deade6e5989d11879767 Mon Sep 17 00:00:00 2001 From: freaj Date: Mon, 30 Mar 2015 10:36:00 +0200 Subject: openrc-net-20150330-1: updating version --- pcr/openrc-net/rpc.yppasswdd-r1 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pcr/openrc-net/rpc.yppasswdd-r1 (limited to 'pcr/openrc-net/rpc.yppasswdd-r1') diff --git a/pcr/openrc-net/rpc.yppasswdd-r1 b/pcr/openrc-net/rpc.yppasswdd-r1 new file mode 100644 index 000000000..a14762516 --- /dev/null +++ b/pcr/openrc-net/rpc.yppasswdd-r1 @@ -0,0 +1,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.4 2004/07/24 06:26:28 eradicator 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 $? +} -- cgit v1.2.3-54-g00ecf