aboutsummaryrefslogtreecommitdiff
path: root/init.d/rpcbind.in
blob: 2d053ebd5d2dfa7a51811b127e8b77362b86712f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!@PREFIX@/sbin/runscript
# Copyright 2007-2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.

command=/usr/sbin/rpcbind
command_args=${rpcbind_args}
name="RPC program number mapper"

depend()
{
	provide rpc
	need localmount
	use net logger dns
	before inetd xinetd ntpd ntp-client
}

stop_post()
{
	# rpcbind returns too fast, so sleep for a second
	sleep 1
}