diff options
Diffstat (limited to 'libexec/rc/rc.d/rpcbind')
-rwxr-xr-x | libexec/rc/rc.d/rpcbind | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libexec/rc/rc.d/rpcbind b/libexec/rc/rc.d/rpcbind new file mode 100755 index 000000000000..c393df666219 --- /dev/null +++ b/libexec/rc/rc.d/rpcbind @@ -0,0 +1,21 @@ +#!/bin/sh +# +# + +# PROVIDE: rpcbind +# REQUIRE: NETWORKING ntpdate syslogd +# KEYWORD: shutdown + +. /etc/rc.subr + +name="rpcbind" +desc="Universal addresses to RPC program number mapper" +rcvar="rpcbind_enable" +command="/usr/sbin/${name}" + +: ${rpcbind_svcj_options:="net_basic"} + +stop_postcmd='/bin/rm -f /var/run/rpcbind.*' + +load_rc_config $name +run_rc_command "$1" |