Use load_rc_config
This commit is contained in:
parent
2a258cd5c8
commit
75748efda9
|
@ -1,16 +1,16 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: rpcbind,v 1.2 2000/06/03 00:17:17 fvdl Exp $
|
||||
# $NetBSD: rpcbind,v 1.3 2000/06/09 14:14:44 fvdl Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: rpcbind
|
||||
# REQUIRE: network ntpdate syslogd named ppp
|
||||
|
||||
. /etc/rc.subr
|
||||
. /etc/rc.conf
|
||||
|
||||
name="rpcbind"
|
||||
command="/usr/sbin/${name}"
|
||||
pidfile="/var/run/${name}.pid"
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
||||
|
|
Loading…
Reference in New Issue