From: frank Date: Mon, 16 Jan 2012 19:20:24 +0000 (+0100) Subject: committing changes in /etc after emerge run X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=ba259f9db0916d096c968100d8de640e2bb7e7a3;p=config%2Fbruni%2Fetc.git committing changes in /etc after emerge run Package changes: +net-nds/rpcbind-0.2.0 --- diff --git a/.etckeeper b/.etckeeper index c06a5e87..30755654 100755 --- a/.etckeeper +++ b/.etckeeper @@ -184,6 +184,7 @@ maybe chmod 0644 './conf.d/pciparm' maybe chmod 0644 './conf.d/pydoc-2.7' maybe chmod 0644 './conf.d/pydoc-3.1' maybe chmod 0644 './conf.d/radvd' +maybe chmod 0644 './conf.d/rpcbind' maybe chmod 0644 './conf.d/rsyncd' maybe chmod 0644 './conf.d/samba' maybe chmod 0644 './conf.d/saslauthd' @@ -660,6 +661,7 @@ maybe chmod 0755 './init.d/pydoc-3.1' maybe chmod 0755 './init.d/radvd' maybe chmod 0755 './init.d/reboot.sh' maybe chmod 0755 './init.d/root' +maybe chmod 0755 './init.d/rpcbind' maybe chmod 0755 './init.d/rsyncd' maybe chmod 0755 './init.d/samba' maybe chmod 0755 './init.d/saslauthd' diff --git a/conf.d/rpcbind b/conf.d/rpcbind new file mode 100644 index 00000000..ddc09172 --- /dev/null +++ b/conf.d/rpcbind @@ -0,0 +1,4 @@ +# /etc/conf.d/rpcbind + +# Options for `rpcbind`. +#RPCBIND_OPTS="-l" diff --git a/init.d/rpcbind b/init.d/rpcbind new file mode 100755 index 00000000..995ca71d --- /dev/null +++ b/init.d/rpcbind @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/files/rpcbind.initd,v 1.1 2007/12/29 09:13:55 vapier Exp $ + +depend() { + use net + before inetd xinetd + provide portmap +} + +start() { + ebegin "Starting rpcbind" + start-stop-daemon --start --quiet --exec /sbin/rpcbind -- ${RPCBIND_OPTS} + eend $? +} + +stop() { + ebegin "Stopping rpcbind" + start-stop-daemon --stop --quiet --exec /sbin/rpcbind + eend $? +}