vp-build/templates/nfs-utils/files/mountd
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

22 lines
303 B
Bash
Executable File

#!/bin/sh
#
# PROVIDE: mountd
# REQUIRE: portmap nfslock
# KEYWORD: shutdown
$_rc_subr_loaded . /etc/rc.subr
name="mountd"
rcvar=$name
command="/usr/sbin/rpc.mountd"
procname=${command}
start_precmd="mountd_precmd"
mountd_precmd()
{
/usr/sbin/exportfs -r
}
load_rc_config $name
run_rc_command "$1"