2009-03-14 01:16:07 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# PROVIDE: nfslock
|
|
|
|
# REQUIRE: portmap
|
2009-03-28 10:27:08 +00:00
|
|
|
# KEYWORD: shutdown
|
2009-03-14 01:16:07 +00:00
|
|
|
|
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
|
|
|
|
|
|
|
name="nfslock"
|
|
|
|
rcvar=$name
|
|
|
|
command="/usr/sbin/rpc.statd"
|
2009-03-28 10:27:08 +00:00
|
|
|
pidfile="/var/run/rpc.statd.pid"
|
2009-03-14 01:16:07 +00:00
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|