From: fbrehm Date: Mon, 20 Feb 2012 06:39:22 +0000 (+0100) Subject: committing changes in /etc after emerge run X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=68fb920d2de3d682ff73886c05ebc4bc18858b09;p=config%2Fsamara%2Fetc.git committing changes in /etc after emerge run Package changes: +net-nds/rpcbind-0.2.0 --- diff --git a/.etckeeper b/.etckeeper index c293c4a..b17317f 100755 --- a/.etckeeper +++ b/.etckeeper @@ -212,6 +212,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/rfcomm' +maybe chmod 0644 './conf.d/rpcbind' maybe chmod 0644 './conf.d/rsyncd' maybe chmod 0644 './conf.d/saslauthd' maybe chmod 0644 './conf.d/slapd' @@ -814,6 +815,7 @@ maybe chmod 0755 './init.d/pydoc-3.1' maybe chmod 0755 './init.d/reboot.sh' maybe chmod 0755 './init.d/rfcomm' maybe chmod 0755 './init.d/root' +maybe chmod 0755 './init.d/rpcbind' maybe chmod 0755 './init.d/rsyncd' maybe chmod 0755 './init.d/saslauthd' maybe chmod 0755 './init.d/savecache' diff --git a/conf.d/rpcbind b/conf.d/rpcbind new file mode 100644 index 0000000..ddc0917 --- /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 0000000..995ca71 --- /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 $? +}