void-packages/templates/nfs-utils/files/mountd

20 lines
263 B
Text
Raw Normal View History

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