2013-12-21 14:51:11 -06:00
|
|
|
#!@SBINDIR@/openrc-run
|
2015-12-04 16:52:19 -06:00
|
|
|
# Copyright (c) 2007-2015 The OpenRC Authors.
|
|
|
|
# See the Authors file at the top-level directory of this distribution and
|
2021-12-20 20:07:00 -05:00
|
|
|
# https://github.com/OpenRC/openrc/blob/HEAD/AUTHORS
|
2015-12-04 16:52:19 -06:00
|
|
|
#
|
|
|
|
# This file is part of OpenRC. It is subject to the license terms in
|
|
|
|
# the LICENSE file found in the top-level directory of this
|
2021-12-20 20:07:00 -05:00
|
|
|
# distribution and at https://github.com/OpenRC/openrc/blob/HEAD/LICENSE
|
2015-12-04 16:52:19 -06:00
|
|
|
# This file may not be copied, modified, propagated, or distributed
|
|
|
|
# except according to the terms contained in the LICENSE file.
|
2007-11-20 15:48:57 +00:00
|
|
|
|
|
|
|
command=/usr/sbin/rpcbind
|
2009-04-27 07:51:18 +00:00
|
|
|
command_args=$rpcbind_args
|
2007-11-20 15:48:57 +00:00
|
|
|
name="RPC program number mapper"
|
|
|
|
|
2008-01-11 12:13:46 +00:00
|
|
|
depend()
|
|
|
|
{
|
2007-11-20 15:48:57 +00:00
|
|
|
provide rpc
|
|
|
|
need localmount
|
|
|
|
use net logger dns
|
|
|
|
before inetd xinetd ntpd ntp-client
|
|
|
|
}
|
|
|
|
|
2008-01-11 12:13:46 +00:00
|
|
|
stop_post()
|
|
|
|
{
|
2007-11-20 15:48:57 +00:00
|
|
|
# rpcbind returns too fast, so sleep for a second
|
|
|
|
sleep 1
|
|
|
|
}
|