2000-03-10 14:53:23 +03:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2004-08-13 22:08:03 +04:00
|
|
|
# $NetBSD: rpcbind,v 1.7 2004/08/13 18:08:03 mycroft Exp $
|
2000-03-10 14:53:23 +03:00
|
|
|
#
|
|
|
|
|
2000-06-03 02:54:08 +04:00
|
|
|
# PROVIDE: rpcbind
|
2002-01-31 04:26:05 +03:00
|
|
|
# REQUIRE: NETWORKING ntpdate syslogd named ppp
|
2000-03-10 14:53:23 +03:00
|
|
|
|
2004-08-13 22:08:03 +04:00
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
2000-03-10 14:53:23 +03:00
|
|
|
|
2000-06-03 02:54:08 +04:00
|
|
|
name="rpcbind"
|
2000-09-19 17:04:38 +04:00
|
|
|
rcvar=$name
|
2000-03-10 14:53:23 +03:00
|
|
|
command="/usr/sbin/${name}"
|
2000-06-03 04:17:17 +04:00
|
|
|
pidfile="/var/run/${name}.pid"
|
2000-03-10 14:53:23 +03:00
|
|
|
|
2000-06-09 18:14:44 +04:00
|
|
|
load_rc_config $name
|
2000-03-10 14:53:23 +03:00
|
|
|
run_rc_command "$1"
|