diff options
author | 2004-06-08 05:28:54 +0000 | |
---|---|---|
committer | 2004-06-08 05:28:54 +0000 | |
commit | b56a502579aaad90ed4eec3d07e1ab9fca88f063 (patch) | |
tree | 9ca2096330240b27ce9f0b3fe2dc808ce3933d11 /net-nds/ypserv/files | |
parent | Version bump closes bug #53191. Removed non-x86 ARCHS as this is a binary di... (diff) | |
download | gentoo-2-b56a502579aaad90ed4eec3d07e1ab9fca88f063.tar.gz gentoo-2-b56a502579aaad90ed4eec3d07e1ab9fca88f063.tar.bz2 gentoo-2-b56a502579aaad90ed4eec3d07e1ab9fca88f063.zip |
New init script setup for rpc.yppasswdd as suggested on bug #40048
Diffstat (limited to 'net-nds/ypserv/files')
-rw-r--r-- | net-nds/ypserv/files/digest-ypserv-2.13-r1 | 1 | ||||
-rw-r--r-- | net-nds/ypserv/files/rpc.yppasswdd-r1 | 23 | ||||
-rw-r--r-- | net-nds/ypserv/files/rpc.yppasswdd.confd | 7 |
3 files changed, 31 insertions, 0 deletions
diff --git a/net-nds/ypserv/files/digest-ypserv-2.13-r1 b/net-nds/ypserv/files/digest-ypserv-2.13-r1 new file mode 100644 index 000000000000..628d942694ee --- /dev/null +++ b/net-nds/ypserv/files/digest-ypserv-2.13-r1 @@ -0,0 +1 @@ +MD5 caa5e7b2af6f62d6051643cc1c00b5c8 ypserv-2.13.tar.bz2 167579 diff --git a/net-nds/ypserv/files/rpc.yppasswdd-r1 b/net-nds/ypserv/files/rpc.yppasswdd-r1 new file mode 100644 index 000000000000..596c6130a0d6 --- /dev/null +++ b/net-nds/ypserv/files/rpc.yppasswdd-r1 @@ -0,0 +1,23 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Technologies, Inc. +# 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.1 2004/06/08 05:28:54 raker Exp $ + +depend() { + need net portmap ypserv +} + +start() { + ebegin "Starting rpc.yppasswdd" + start-stop-daemon --start --quiet --exec /usr/sbin/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 $? +} diff --git a/net-nds/ypserv/files/rpc.yppasswdd.confd b/net-nds/ypserv/files/rpc.yppasswdd.confd new file mode 100644 index 000000000000..0d6673630776 --- /dev/null +++ b/net-nds/ypserv/files/rpc.yppasswdd.confd @@ -0,0 +1,7 @@ +# -e chsh allows changing shell through ypchsh, +# -e chfn allows changing GECOS ("finger") information through ypchfn, +# -D <dir> allows specification of directory with yp/NIS sources +# if other than /etc. +#YPPASSWDD_OPTS="-e chsh -e chfn -D /var/yp/source" + + |