void-packages/templates/nfs-utils/files/nfslock
Juan RP 575ce29b37 nfs-utils: reworked the rc.d scripts to make server/client work.
Bump revision.

--HG--
extra : convert_revision : 8ae516e972fa5ba22be2d5ef80194bf08ff921fa
2009-03-28 11:27:08 +01:00

15 lines
236 B
Bash
Executable file

#!/bin/sh
#
# PROVIDE: nfslock
# REQUIRE: portmap
# KEYWORD: shutdown
$_rc_subr_loaded . /etc/rc.subr
name="nfslock"
rcvar=$name
command="/usr/sbin/rpc.statd"
pidfile="/var/run/rpc.statd.pid"
load_rc_config $name
run_rc_command "$1"