#!/sbin/runscript # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/rpcbind.initd,v 1.1 2006/04/01 16:43:51 flameeyes Exp $ depend() { use net before inetd before xinetd } start() { ebegin "Starting rpcbind" rpcbind local ret=$? eend ${ret} # without, if a service depending on portmap is started too fast, # connecting to portmap will fail -- azarah # doing that for rpcbind, too -- flameeyes sleep 1 return ${ret} } stop() { ebegin "Stopping rpcbind" killall rpcbind eend $? }